Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid API credentials
-
DeliveryConfirm target has API feature enabled
-
ExploitCraft malicious file path in API request
-
ExecutionTrigger PHP file inclusion on server
-
ImpactExfiltrate sensitive PHP configuration data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two explicit conditions must both be simultaneously satisfied for exploitation to be possible. First, the PHPIPAM API must be enabled by an administrator - the API is explicitly disabled on all default installations, meaning the majority of deployed instances are entirely unexposed to this vulnerability. Second, the attacker must possess valid, authenticated API credentials; the CVSS PR:L metric confirms low-privilege authentication is required, and unauthenticated exploitation is not possible. The CVSS AT:P metric formally encodes the non-default configuration requirement. Exploitation is further constrained by the fact that only files already present on the web server's local filesystem can be included - arbitrary remote file inclusion is not enabled by this vulnerability. Organizations that have never activated the PHPIPAM API are not affected regardless of version. |
| Impact | The CVSS 4.0 score of 2.3 (vector: AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) accurately captures the narrow attack surface: exploitation requires both a non-default administrator-enabled API configuration (AT:P) and valid low-privileged API credentials (PR:L). No EPSS data was provided in the input, preventing probabilistic exploitation likelihood assessment. The vulnerability is absent from CISA KEV, indicating no confirmed mass exploitation. A publicly available exploit does exist per Project Black's research, elevating urgency above a purely theoretical issue; however, POC existence should not be conflated with active exploitation. One notable tension in the provided data: the description states that attackers can 'execute/include arbitrary PHP files,' which implies a potential for in-process code execution beyond mere file disclosure - the VC:L assignment may understate actual impact if exploitation is chained with writable directories or existing malicious files already on the server. No evidence of such chaining is present in the provided data, so this remains an inference. Overall, this is a low-priority finding for the vast majority of deployments that have never enabled the PHPIPAM API; organizations with the API actively exposed to untrusted users warrant prompt remediation. |
| Exploit ScenarioDerived | An attacker who has obtained valid PHPIPAM API credentials - through credential reuse, phishing, or compromise of a low-privileged account - sends a crafted API request with a malicious file path parameter targeting a sensitive PHP configuration file on the server, such as a database configuration file containing plaintext credentials. PHPIPAM's API handler passes the unsanitized path to a PHP include call, causing the interpreter to load and execute the targeted file within the web process context, potentially disclosing database passwords, API keys, or internal network details. A public proof-of-concept demonstrating this technique is available from Project Black's research at https://projectblack.io/blog/local-ai-for-cyber-security/. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 04, 2026
PHP file inclusion in PHPIPAM allows authenticated API users to include and execute arbitrary PHP files from the web server's filesystem, with primary impact on application confidentiality through exposure of sensitive configuration data. Exploitation is gated behind two non-default conditions: the REST API must be deliberately enabled by an administrator, and the attacker must hold valid API credentials - constraining the realistic attack surface substantially. Publicly available exploit code exists per Project Black's research blog, though the vulnerability carries a CVSS 4.0 score of 2.3 and is absent from CISA KEV, reflecting its narrow exploitation prerequisites rather than widespread threat activity.
RemediationAI
Monitor the PHPIPAM project at https://github.com/phpipam/phpipam/pull/4625 and apply the fix once merged into a tagged release; upgrade to that release as the primary remediation step. Until a formal patched release is available, the most effective compensating control is to disable the PHPIPAM API entirely if it is not operationally required - since the API is off by default, organizations that have not enabled it are fully unaffected and require no additional action. For deployments that require the API, restrict API endpoint access to trusted internal IP ranges at the network perimeter or web server layer (e.g., nginx or Apache allow/deny directives), reducing the pool of callers who can supply crafted file paths; note this introduces operational friction for legitimate remote API consumers. Additionally, audit and minimize the scope of API user permissions, ensuring no account has broader access than the minimum needed. No vendor-issued workaround documentation beyond disabling the API was identified in the referenced materials.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PHPIPAM is an open-source PHP-based IP address management application (CPE: cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*). The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), a PHP-specific subclass of path traversal in which user-supplied input reaches a PHP include() or require() call without adequate sanitization. This allows an authenticated API caller to inject an arbitrary filesystem path, causing the PHP interpreter to load and parse the targeted file within the webserver process context. The CVSS 4.0 vector designates AT:P (attack requirements present) specifically because the API component is disabled by default and must be explicitly activated by an administrator before the vulnerable code path is reachable.
Know when Phpipam 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Non-default API prerequisite maps to AC:H; authenticated low-privilege access required (PR:L); limited confidentiality impact from file inclusion (C:L); no integrity or availability impact observed.
Primary rating from Vendor (PRJBLK).
CVSS VectorVendor: PRJBLK
DescriptionCVE.org
PHPIPAM is affected by an authenticated local file inclusion vulnerability that allows users with access to the API to execute/include arbitrary PHP files on the web server's file system. The API is not enabled by default on installations.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
phpipam v1.5.0 was discovered to contain a header injection vulnerability via the component /admin/subnets/ripe-query.ph
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/edit.php table parameter when action=add is used. Rated
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/filter.php table parameter when action=add is used. Rat
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/edit-result.php table parameter when action=add is used
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/order.php table parameter when action=add is used. Rate
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/filter-result.php table parameter when action=add is us
phpIPAM version 1.3.2 contains a CWE-89 vulnerability in /app/admin/nat/item-add-submit.php that can result in SQL Injec
An issue was discovered in tools/pass-change/result.php in phpIPAM 1.4. Rated high severity (CVSS 8.8), this vulnerabili
Incorrect authorization in phpIPAM's REST API (api/controllers/User.php) allows an attacker with API access to retrieve
In phpipam/phpipam version 1.5.1, the Secure attribute for sensitive cookies in HTTPS sessions is not set. Rated high se
Phpipam before v1.5.2 was discovered to contain a LDAP injection vulnerability via the dname parameter at /users/ad-sear
SQL Injection in GitHub repository phpipam/phpipam prior to v1.5.2. Rated high severity (CVSS 7.2), this vulnerability i
EUVD-2026-41659
GHSA-cr5v-q482-32fc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB