# CVE-2026-13568: SourceCodester Inventory Management System improper access control in users_handler.php

Source: https://junglewise.ai/threats/cve-2026-13568-sourcecodester-inventory-management-system-improper-access  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-29. Updated: 2026-06-29  
License: CC BY 4.0 with a link back

CVE-2026-13568 · Severity: high · CVSS 7.3 · Published 2026-06-29

SourceCodester Inventory Management System 1.0 contains a security flaw in its user registration process. This vulnerability allows an attacker to manipulate their assigned role during registration, potentially gaining unauthorized administrative access to the system. This could lead to the exposure of sensitive inventory data or unauthorized changes to business records.

Technologies: [SourceCodester Inventory Management System](https://junglewise.ai/threats/technologies/inventory-management-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-13568 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-13568 being exploited in the wild.

**How severe is CVE-2026-13568?** High severity, with a CVSS score of 7.3, published 29 June 2026.

**Which products and versions are affected?** SourceCodester Inventory Management System 1.0.

**Is there a fix for CVE-2026-13568?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-13568 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-13568?** Check whether you run SourceCodester Inventory Management System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

An improper access control vulnerability (CWE-284/CWE-266) exists in SourceCodester Inventory Management System 1.0 within the '/api/users_handler.php' file. The 'User Registration Endpoint' fails to properly validate or restrict the 'role' argument during account creation. A remote, unauthenticated attacker can exploit this by submitting a crafted registration request to assign themselves elevated privileges (such as an administrator role). Public exploit code has been released for this vulnerability.

## Affected products

- SourceCodester Inventory Management System 1.0

## Timeline

- 2026-06-29: disclosed
- 2026-06-29: advisory

## References

- [https://vuldb.com/cve/CVE-2026-13568](https://vuldb.com/cve/CVE-2026-13568)
- [https://vuldb.com/submit/844257](https://vuldb.com/submit/844257)
- [https://vuldb.com/vuln/374576](https://vuldb.com/vuln/374576)
- [https://vuldb.com/vuln/374576/cti](https://vuldb.com/vuln/374576/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Inventory Management System IDOR in invoice.php](https://junglewise.ai/threats/cve-2026-90697-sourcecodester-inventory-management-system-idor-in-invoice-php)
- [SourceCodester Inventory Management System stored XSS in product name](https://junglewise.ai/threats/cve-2026-90696-sourcecodester-inventory-management-system-stored-xss-in-product)
- [SourceCodester Inventory Management System stored XSS in Vendor Management](https://junglewise.ai/threats/cve-2026-90695-sourcecodester-inventory-management-system-stored-xss-in-vendor)
- [SourceCodester Inventory Management System stored XSS in customer name](https://junglewise.ai/threats/cve-2026-90694-sourcecodester-inventory-management-system-stored-xss-in-customer)
- [SourceCodester Inventory Management System XSS in User Registration Endpoint](https://junglewise.ai/threats/cve-2026-13570-sourcecodester-inventory-management-system-xss-in-user)
