Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104991 Overview
CVE-2026-104991 is a missing object-level authorization vulnerability in Phproject versions before 1.8.7. The flaw resides in the REST API issue endpoints single_get, single_comments, and single_comments_post. These endpoints never invoke the allowAccess() authorization routine, bypassing the security.restrict_access confidentiality control. Authenticated API key holders can read restricted issue contents and comments, including owner and author email addresses. They can also post unauthorized comments to issues they should not be able to access. The vulnerability is categorized under CWE-862: Missing Authorization.
Critical Impact
Any valid Phproject API key becomes a universal read token for restricted issues and a write primitive for unauthorized comment posting across the application.
Affected Products
- Phproject versions prior to 1.8.7
- Phproject REST API issues endpoints: single_get, single_comments, single_comments_post
- Deployments relying on the security.restrict_access configuration for issue confidentiality
Discovery Timeline
- 2026-10-02 - CVE-2026-104991 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-104991
Vulnerability Analysis
Phproject enforces per-issue confidentiality through the security.restrict_access setting. The web UI consults the allowAccess() routine before serving issue data, limiting visibility to authorized users. The REST API handlers for individual issues omit this check entirely. As a result, any authenticated client presenting a valid API key reaches issue read and comment routes without authorization enforcement. The vulnerability affects three endpoints: single_get returns full issue content, single_comments enumerates comment threads, and single_comments_post writes new comments. Exposed data includes issue bodies, comment history, and the email addresses of issue owners and comment authors. See the GitHub Security Advisory GHSA-mpq9-v47x-3hw8 and the VulnCheck advisory for additional context.
Root Cause
The REST API controllers for issue retrieval and commenting authenticate the API key but do not call allowAccess(). The authorization layer that governs the browser-based path is simply absent from the API code path. This mismatch between the UI and API enforcement produces a broken access control condition classified as [CWE-862].
Attack Vector
An attacker needs only an authenticated API key to a Phproject instance. Low-privilege users, contractors, or any account with API access can issue direct HTTP requests to the vulnerable endpoints referencing issue identifiers they would otherwise be blocked from viewing. The server returns the restricted content, and single_comments_post accepts attacker-controlled comment payloads on protected issues. No social engineering or user interaction is required. Technical details are described in the vulnerability references, and no public exploitation code was published.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-104991
Indicators of Compromise
- Unexpected GET requests to /api/issues/<id> style endpoints from API keys whose owning users lack UI access to the referenced issues
- POST requests to the single_comments_post endpoint originating from accounts that have never interacted with the target issue through the UI
- Enumeration patterns showing sequential or scripted access to many issue IDs by a single API key within a short time window
Detection Strategies
- Correlate Phproject application logs with the allowAccess() evaluation performed in the web UI to flag API accesses that would have been denied in the browser path
- Baseline per-API-key access patterns and alert on sudden spikes in issue retrieval volume or breadth of accessed issue identifiers
- Inspect reverse proxy or WAF logs for high-frequency requests to issues/single_get, issues/single_comments, and issues/single_comments_post
Monitoring Recommendations
- Enable verbose request logging on the Phproject REST API tier and forward logs to a centralized analytics platform
- Track the ratio of API-sourced issue reads to UI-sourced issue reads per user, treating sharp divergences as investigative leads
- Monitor outbound exfiltration channels for exports containing email addresses that match Phproject owner or author fields
How to Mitigate CVE-2026-104991
Immediate Actions Required
- Upgrade Phproject to version 1.8.7 or later as published in the GitHub Release v1.8.7
- Rotate all existing API keys after upgrade to invalidate tokens that may have been used against vulnerable endpoints
- Audit Phproject access logs for the exposure window and identify any API keys that accessed issues outside their user's UI permissions
Patch Information
The maintainers released a fix in Phproject 1.8.7. The patch adds the missing allowAccess() authorization check to the single_get, single_comments, and single_comments_post REST API handlers, aligning API enforcement with the existing UI access control model. Release notes are available on the GitHub Release v1.8.7 page.
Workarounds
- Restrict REST API access at the network edge to trusted administrative networks until the upgrade is applied
- Disable or revoke API keys for user accounts that do not require programmatic access to Phproject
- Place a reverse proxy rule in front of the vulnerable endpoints that enforces per-user allow-lists of issue identifiers
# Example reverse-proxy block (nginx) restricting Phproject REST issue endpoints
location ~ ^/api/issues/(single_get|single_comments|single_comments_post) {
allow 10.0.0.0/24; # trusted admin network
deny all;
proxy_pass http://phproject_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

