Link Following (Symlink)Weakness · CWE-59

CVE-2026-45384

MEDIUM · 6.1 CVSS v3.1 Published 2026-06-10
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
63/100
Remediation priority · Elevated
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
bit7z is a cross-platform C++ static library that allows the compression/extraction of archive files. Prior to version 4.0.12, there is an arbitrary file overwrite vulnerability via symlink attack on predictable temp files during archive update. This issue has been patched in version 4.0.12.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

bit7z versions prior to 4.0.12 contain an arbitrary file overwrite vulnerability exploited via symlink attacks on predictable temporary files during archive update operations. Attackers can manipulate the predictable temp file names to redirect writes to arbitrary filesystem locations, leading to potential system compromise.

MitigationUpgrade to bit7z version 4.0.12 or later which patches the insecure temp file handling. If upgrading is not immediately feasible, avoid using archive update functionality in untrusted environments.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify bit7z installation and version
    Run 'bit7z --version' or check the application's 'About' dialog, or inspect the installed binary/library file version metadata
    Affected if The installed version is lower than 4.0.12 or cannot be determined to be 4.0.12 or higher
  2. Confirm archive update operations are performed
    Review application logs or usage patterns to determine if archive update functionality (adding/updating files in existing archives) is used
    Affected if Archive update operations are performed using bit7z versions below 4.0.12
  3. Verify temp directory permissions
    Check the directory where bit7z creates temporary files during archive operations (commonly the system temp folder such as /tmp or %TEMP%) for any suspicious symlinks pointing to sensitive files
    Affected if Any symlink files exist in the temp directory with names that match bit7z temporary file patterns (if observable)

A system is affected if bit7z version 4.0.12 or higher is not installed and archive update operations are performed, as the vulnerable code path for predictable temp file creation is triggered during those operations.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to bit7z version 4.0.12 or later which patches the insecure temp file handling. If upgrading is not immediately feasible, avoid using archive update functionality in untrusted environments.

Recommended fix High confidence

version 4.0.12

  1. 1. Identify the current version of bit7z being used in your project by checking your build configuration, dependency manager, or source code
  2. 2. If using a package manager (e.g., vcpkg, conan, or a git submodule), update to version 4.0.12 or later
  3. 3. If using git submodule, navigate to the bit7z repository directory and run: git fetch origin && git checkout <tag> where <tag> is v4.0.12 or a later release
  4. 4. Rebuild your project to incorporate the updated library
  5. 5. Verify the new version is 4.0.12 or later by checking the library version at runtime or in build logs

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-45384 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-45384 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data