CWE-674Weakness · CWE-674

CVE-2026-44740

MEDIUM · 6.5 CVSS v3.1 Published 2026-06-01
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable 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
Billy is an interface filesystem abstraction for Go. Prior to versions 5.9.0 and 6.0.0-alpha.1, multiple components may improperly handle crafted or malformed input, resulting in panics, infinite loops, uncontrolled recursion, or excessive resource consumption. These issues arise from insufficient validation and missing safety mechanisms such as cycle detection, recursion limits, or defensive handling of unexpected states when processing untrusted repository data and filesystem structures. This issue has been patched in versions 5.9.0 and 6.0.0-alpha.1.

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 · moderate confidence

Billy, a Go filesystem abstraction library, contains multiple vulnerabilities where insufficient input validation and missing safety mechanisms (cycle detection, recursion limits, defensive state handling) when processing untrusted repository data and filesystem structures can lead to panics, infinite loops, uncontrolled recursion, or excessive resource consumption, resulting in denial of service.

MitigationUpgrade Billy to version 5.9.0 or 6.0.0-alpha.1 which contains the patch for proper validation and safety mechanism implementation.

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
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

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 Billy library version in your Go project
    Run 'go list -m all | grep github.com/billy' or inspect your go.mod file for the billy version entry
    Affected if The billy version is listed as less than 5.9.0 or any 6.0.0 version prior to alpha.1 (e.g., 6.0.0, 6.0.0-beta.1)
  2. Check if Billy is a transitive dependency
    Run 'go mod why github.com/billy' or 'go list -m -json github.com/billy' to see if it is pulled in by another module
    Affected if Billy appears as a dependency regardless of whether you directly import it in your code
  3. Identify code paths that use Billy to read filesystem data
    Search your codebase for imports of 'github.com/billy' packages (s3, mem, os, etc.) and review functions that read, list, or traverse filesystem structures using Billy
    Affected if Your application imports and uses Billy to process any filesystem data, especially from untrusted sources
  4. Determine if processed data could be untrusted or attacker-controlled
    Review whether Billy is used to handle data from user uploads, external repositories, network sources, or any data not directly controlled by your organization
    Affected if Billy processes data from untrusted sources such as user-provided paths, external storage, or repository contents that could contain crafted filesystem structures

You are affected if Billy version is prior to 5.9.0 (or a 6.0.0 version prior to alpha.1) AND your code uses Billy to process untrusted or potentially malicious filesystem data, as the library lacks proper validation and recursion safeguards for such inputs.

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 Billy to version 5.9.0 or 6.0.0-alpha.1 which contains the patch for proper validation and safety mechanism implementation.

Recommended fix High confidence

Billy versions 5.9.0 or 6.0.0-alpha.1

  1. Check the current version of Billy in use (e.g., inspect go.mod file for 'github.com/hairyhenderson/gom/v3' or similar Billy dependency)
  2. Run 'go get github.com/hairyhenderson/gom/[email protected]' or use the appropriate module path for the Billy library to upgrade to version 5.9.0
  3. Alternatively, if using the pre-release version, upgrade to '6.0.0-alpha.1'
  4. Run 'go mod tidy' to update dependencies
  5. Rebuild and test the application to verify the upgrade resolves the vulnerability
  6. Verify there are no regressions in filesystem operations, particularly with untrusted or malformed input
Caveat Minimal expected; patch appears focused on input validation and safety mechanisms rather than API changes

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

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing8.0 h
  • Review / QA3.0 h
20.0 hours of engineering $3,420
Get help mitigating

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-44740 — 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-44740 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