CVE-2026-40521
Last modified
CVE-2026-40521 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. FrontAccounting before 2.4.20 contains a path traversal vulnerability in the attachment upload handler that allows authenticated attackers to execute arbitrary code by uploading files with traversal sequences in the unique_name parameter. Attackers can supply path traversal sequences ../../../shell.php to write files outside the intended attachments directory into the web root, and by uploading PHP files without extension validation, achieve remote code execution as the web server user.. EPSS estimates a 0.63% chance of exploitation in the next 30 days.
Description
FrontAccounting before 2.4.20 contains a path traversal vulnerability in the attachment upload handler that allows authenticated attackers to execute arbitrary code by uploading files with traversal sequences in the unique_name parameter. Attackers can supply path traversal sequences ../../../shell.php to write files outside the intended attachments directory into the web root, and by uploading PHP files without extension validation, achieve remote code execution as the web server user.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FrontAccounting | FrontAccounting | < 2.4.20 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40521?
How severe is CVE-2026-40521?
How do I fix CVE-2026-40521?
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-40515OpenHarness before commit bd4df81 contains a permission bypa…5.5
- CVE-2026-40516OpenHarness before commit bd4df81 contains a server-side req…6.3
- CVE-2026-40517radare2 prior to 6.1.4 contains a command injection vulnerab…8.4
- CVE-2026-40518ByteDance DeerFlow before commit 2176b2b contains a path tra…9.1
- CVE-2026-40519Nginx Proxy Manager versions 2.9.14 through 2.15.1, fixed in…7.7
- CVE-2026-40520FreePBX api module version 17.0.8 and prior contain a comman…8.8
- CVE-2026-40522FrontAccounting before 2.4.20 contains a SQL injection vulne…7.1
- CVE-2026-40523FrontAccounting before 2.4.20 contains a SQL injection vulne…8.1
- CVE-2026-40524FrontAccounting before 2.4.20 contains a SQL injection vulne…8.1
- CVE-2026-40525OpenViking prior to version 0.3.9 contains an authentication…9.1
- CVE-2026-40527radare2 prior to commit bc5a890 contains a command injection…8.5
- CVE-2026-40528OpenSC before 0.27.0, fixed in commit 0358817, contains a st…7.8
Are you affected by CVE-2026-40521?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
