CVE-2026-5812
CVE-2026-5812 is a medium-severity vulnerability with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-840.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v2: 5.5
- CVSS v4: 2.1
- EPSS exploit prediction: 0% (15th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-20803
- Weakness: CWE-840
- Published:
- Last modified:
Description
A security flaw has been discovered in SourceCodester Pharmacy Product Management System 1.0. This affects an unknown part of the file add-sales.php of the component POST Parameter Handler. Performing a manipulation of the argument txtqty results in business logic errors. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks.
Frequently asked questions
- What is CVE-2026-5812?
- A security flaw has been discovered in SourceCodester Pharmacy Product Management System 1.0. This affects an unknown part of the file add-sales.php of the component POST Parameter Handler. Performing a manipulation of the argument txtqty results in business logic errors. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks.
- How severe is CVE-2026-5812?
- CVE-2026-5812 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability low.
- Is CVE-2026-5812 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (15th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-5812?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-5812 have an EU (EUVD) identifier?
- Yes. CVE-2026-5812 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-20803.
- When was CVE-2026-5812 published?
- CVE-2026-5812 was published on 2026-04-08 and last updated on 2026-06-17.
References
- https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddSales-NegativeQty.md
- https://vuldb.com/submit/787680
- https://vuldb.com/vuln/356260
- https://vuldb.com/vuln/356260/cti
- https://www.sourcecodester.com/
Other CWE-840 vulnerabilities
- CVE-2022-4719 — Critical (CVSS 9.8): Business Logic Errors in GitHub repository ikus060/rdiffweb prior to 2.5.5.
- CVE-2022-3363 — Critical (CVSS 9.8): Business Logic Errors in GitHub repository ikus060/rdiffweb prior to 2.5.0a7.
- CVE-2021-4171 — Critical (CVSS 9.8): calibre-web is vulnerable to Business Logic Errors
- CVE-2024-39671 — Critical (CVSS 9.3): Access control vulnerability in the security verification module. Impact: Successful exploitation of this vulnerability…
- CVE-2024-54098 — High (CVSS 8.5): Service logic error vulnerability in the system service module Impact: Successful exploitation of this vulnerability…
- CVE-2025-1908 — High (CVSS 7.7): An issue has been discovered in GitLab EE/CE that could allow an attacker to track users' browsing activities,…