Skip to main content

SourceCodester Inventory System CVE-2026-11519

| EUVDEUVD-2026-35069 LOW
Improper Authorization (CWE-285)
2026-06-08 VulDB GHSA-g3xx-jm74-8r8g
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege credentials
  2. Delivery
    Authenticate to Inventory System
  3. Exploit
    Craft POST to /api/users_handler.php
  4. Execution
    Tamper ROLE parameter to admin value
  5. Persist
    Create unauthorized admin account
  6. Impact
    Access full admin functionality

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a valid low-privilege authenticated session (CVSS PR:L) on the target Inventory System instance - unauthenticated remote exploitation is not indicated by the available data. The vulnerable endpoint /Product_Inventory/api/users_handler.php must be network-accessible (AV:N), which is the default deployment posture for a web-based inventory system. The attack is limited to: possession of any valid credential (self-registered or otherwise), direct network access to the API endpoint, and the application running PHP with the users_handler.php file present. No special non-default configuration is required beyond a standard installation. The key limiting factor is the authentication prerequisite - attackers without any valid account cannot directly exploit this without first obtaining credentials through a separate vector such as default credentials, phishing, or a companion unauthenticated vulnerability.

Impact

The CVSS base score of 6.3 (Medium) reflects a network-accessible attack (AV:N) with low complexity (AC:L), but critically requires low-level authentication (PR:L) - an attacker must hold a valid account before exploiting this flaw. The CIA triad impact is uniformly low (C:L/I:L/A:L), suggesting the immediate blast radius per exploitation is contained. However, the integrity impact combined with unauthorized privilege escalation in an account creation context can be a stepping stone to full administrative compromise if a newly created high-privilege account is then used for further attacks. The temporal vector includes E:P (proof-of-concept public) and RL:X (no remediation level defined), indicating no patch is available and exploit code is accessible. RC:R (reasonable confidence) reflects VulDB as sole reporter without vendor confirmation. No EPSS score was provided, so probabilistic exploitation likelihood cannot be quantified. No KEV listing confirms active exploitation. The real-world risk is moderate: the low-privilege prerequisite limits opportunistic internet-wide scanning, but any authenticated user - including self-registered accounts if public registration is enabled - could exploit this to escalate role assignments.

Exploit ScenarioDerived

An attacker who has registered or obtained a low-privilege account on a publicly accessible Inventory System instance crafts a POST request to /Product_Inventory/api/users_handler.php, supplying an elevated ROLE value (e.g., administrator) in the request body. Because the server does not validate whether the requesting user's session is authorized to assign that role, the new account is created with administrative privileges. A publicly released proof-of-concept (E:P) demonstrates this technique, meaning the attacker does not need to independently discover or develop the exploit.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Improper authorization in SourceCodester Inventory System 1.0 allows authenticated remote attackers to manipulate the ROLE parameter in the account creation API endpoint, bypassing role-based access controls to create or modify accounts with elevated privileges beyond what is authorized. The affected component is /Product_Inventory/api/users_handler.php, a PHP endpoint that fails to enforce server-side authorization on the ROLE argument during account creation. A publicly available proof-of-concept exploit exists (CVSS temporal E:P), lowering the barrier for opportunistic abuse. No patch has been identified at time of analysis.

RemediationAI

No vendor-released patch has been identified at time of analysis; the remediation level in the CVSS temporal vector is marked RL:X (not defined). Until a patch is released by SourceCodester, the following compensating controls are recommended: restrict access to /Product_Inventory/api/users_handler.php via web server configuration (e.g., Apache .htaccess or nginx location block) to administrative IP ranges only, accepting the trade-off that legitimate remote admin account creation will be blocked. If the endpoint must remain accessible, implement server-side validation that ignores or rejects the client-supplied ROLE parameter and instead derives the maximum permissible role from the authenticated session's existing privilege level. Disable self-registration if enabled, as it widens the pool of attackers who can obtain the prerequisite low-privilege credential. Monitor /Product_Inventory/api/users_handler.php access logs for unexpected ROLE values or account creation spikes. VulDB advisory: https://vuldb.com/vuln/369139.

Affected VersionsENISA

Inventory System 1.0

Affected Packages

euvd inventory_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected application is a PHP-based inventory management system developed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*). The vulnerability resides in the Account Creation Handler at /Product_Inventory/api/users_handler.php. CWE-285 (Improper Authorization) indicates the server accepts and trusts a client-supplied ROLE value without verifying whether the requesting user is authorized to assign that role. This is a classic mass-assignment or parameter tampering pattern common in PHP applications that pass API input directly into database logic without whitelist validation or privilege-level checks on the submitted role. The wildcard version in the CPE string suggests the issue may span beyond the confirmed 1.0 release if the codebase has not been forked and patched upstream.

Know when Inventory System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 08, 2026 - 15:37 NVD
MEDIUM LOW
CVSS changed
Jun 08, 2026 - 15:37 NVD
6.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A security flaw has been discovered in SourceCodester Inventory System 1.0. Affected by this vulnerability is an unknown functionality of the file /Product_Inventory/api/users_handler.php of the component Account Creation Handler. The manipulation of the argument ROLE results in improper authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy