CVE-2026-49135
Deferred Deferred - Pending Action
CodexBar Insecure Temp File Handling Prior to 0.32.0

Publication date: 2026-06-01

Last updated on: 2026-06-02

Assigner: VulnCheck

Description
CodexBar prior to 0.32.0 contains an insecure temporary file handling vulnerability that allows local attackers to access sensitive credentials or tamper with build artifacts by exploiting predictable file paths in the release notarization workflow. Attackers with access to the same host can read the App Store Connect API key written to a fixed path, pre-create files or symbolic links at predictable locations to redirect writes to attacker-controlled destinations, or tamper with notarization archives before submission.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-02
Generated
2026-06-22
AI Q&A
2026-06-02
EPSS Evaluated
2026-06-20
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
codexbar codexbar to 0.32.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-377 Creating and using insecure temporary files can leave application and system data vulnerable to attack.
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-49135 is an insecure temporary file handling vulnerability in CodexBar versions prior to 0.32.0. It allows local attackers who have access to the same host to exploit predictable file paths used in the release notarization workflow.

Attackers can read sensitive credentials such as the App Store Connect API key, which is written to a fixed path. They can also pre-create files or symbolic links at predictable locations to redirect writes to attacker-controlled destinations or tamper with notarization archives before submission.

Impact Analysis

This vulnerability can lead to unauthorized access to sensitive credentials, such as the App Store Connect API key, by local attackers.

Attackers can also tamper with build artifacts or notarization archives, potentially compromising the integrity of software releases.

Compliance Impact

The vulnerability in CodexBar prior to version 0.32.0 involves insecure temporary file handling that allows local attackers to access sensitive credentials such as the App Store Connect API key or tamper with build artifacts. This exposure of sensitive credentials could potentially lead to unauthorized access or data breaches.

Such unauthorized access to sensitive credentials and potential tampering with build artifacts may impact compliance with common security standards and regulations like GDPR and HIPAA, which require protection of sensitive data and secure handling of credentials to prevent data breaches and unauthorized access.

However, the provided context and resources do not explicitly mention or analyze the direct impact of this vulnerability on compliance with these standards or regulations.

Detection Guidance

This vulnerability involves insecure temporary file handling with predictable file paths in the /tmp directory, where sensitive files like the App Store Connect API key and notarization ZIP files are stored. Detection involves checking for the presence of these predictable files or symbolic links that could indicate exploitation attempts.

  • Check for the existence of the API key file at the fixed path: /tmp/codexbar-api-key.p8
  • Check for the notarization ZIP file at the predictable path: /tmp/${APP_NAME}Notarize.zip (replace ${APP_NAME} with the actual application name)
  • Look for suspicious symbolic links or files pre-created in /tmp that could redirect writes or tamper with files.
  • Suggested commands to detect these conditions include:
  • ls -l /tmp/codexbar-api-key.p8
  • ls -l /tmp/*Notarize.zip
  • find /tmp -type l -ls | grep codexbar
  • stat /tmp/codexbar-api-key.p8
Mitigation Strategies

The primary mitigation is to update CodexBar to version 0.32.0 or later, where the vulnerability has been fixed by isolating sensitive temporary files in a private per-run temporary directory with restrictive permissions.

If immediate update is not possible, restrict access to the /tmp directory to prevent local attackers from pre-creating files or symbolic links at predictable paths used by CodexBar.

Ensure that temporary files containing sensitive credentials are not stored in world-readable locations and consider manually cleaning up any existing predictable temporary files.

  • Upgrade CodexBar to version 0.32.0 or later.
  • Restrict permissions on /tmp or use mount options to prevent symlink attacks.
  • Manually remove any existing files at /tmp/codexbar-api-key.p8 and /tmp/*Notarize.zip before running builds.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49135. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart