CVE-2026-124077
Last modified
CVE-2026-124077 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names. Because Git uses a NUL byte to mark the end of each entry name in a tree object, a crafted name could make one tree serialize to the same bytes as a different tree. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
The GitIdentifiers class in Apache Commons Codec did not reject NUL bytes in tree entry names. Because Git uses a NUL byte to mark the end of each entry name in a tree object, a crafted name could make one tree serialize to the same bytes as a different tree. Two different directory trees could then receive the same Git tree identifier or SWHID. The impact is limited: common file systems do not allow NUL bytes in file names, so trees built by walking a file system are not affected. Only applications that build trees from names supplied by other sources, such as entries of archive formats that permit NUL bytes in names (e.g. ZIP) or names passed directly to the API, are exposed. This issue affects Apache Commons Codec: from 1.22.0 before 1.23.0. Users are recommended to upgrade to version 1.23.0, which fixes the issue.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons Codec | >= 1.22.0, < 1.23.0 |
| Apache Software Foundation | Apache Commons Codec | >= 387120c901f4a75c3112dfdf8877dcdec7ae685d, < 87f6aa2818836998528ff4b0d1ea35545a800ee5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-124077?
How severe is CVE-2026-124077?
How do I fix CVE-2026-124077?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-124057A security flaw has been discovered in TOTOLINK CA300-PoE 6.…9.1
- CVE-2026-124058A weakness has been identified in TOTOLINK CA300-PoE 6.2c.88…9.1
- CVE-2026-124059A security vulnerability has been detected in TOTOLINK CA300…9.1
- CVE-2026-12406The User Frontend: AI Powered Frontend Posting, User Directo…5.3
- CVE-2026-124060A vulnerability was detected in TOTOLINK CA300-PoE 6.2c.884.…9.1
- CVE-2026-12407The E2Pdf – Export Pdf Tool for WordPress plugin for WordPre…8.8
- CVE-2026-124078plist.js (npm package 'plist') before 5.0.1 contains an unco…7.5
- CVE-2026-124079rConfig Core 8.0.0 before 8.2.19 and rConfig Pro before 8.4.…9.8
- CVE-2026-12408The Slim SEO – A Fast & Automated SEO Plugin For WordPress p…4.3
- CVE-2026-12409The Landing Page Builder – Coming Soon page, Maintenance Mod…4.3
- CVE-2026-1241The Pelco, Inc. Sarix Professional 3 Series Cameras are vuln…8.7
- CVE-2026-12410Link following vulnerability in the Uninstaller component in…7.8
Are you affected by CVE-2026-124077?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
