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-111626 Overview
CVE-2026-111626 is an authentication bypass vulnerability in Webreaper Damselfly through version 4.5.3. The flaw stems from commented-out authorization attributes on API controllers, leaving all /api/* routes exposed to unauthenticated requests. Attackers can send a PUT /api/users request with an Admin role to create arbitrary administrator accounts. They can also issue POST /api/users to reset any user's password, which grants full control of the application.
The vulnerability is tracked under CWE-306: Missing Authentication for Critical Function and received a CVSS v4.0 score of 9.3.
Critical Impact
Unauthenticated network attackers can create administrator accounts and reset passwords for any user, resulting in complete compromise of the Damselfly instance.
Affected Products
- Webreaper Damselfly versions through 4.5.3
- Damselfly.Web.Server component containing UserManagementController
- All /api/* REST endpoints exposed by the server
Discovery Timeline
- 2026-10-16 - CVE-2026-111626 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111626
Vulnerability Analysis
Damselfly is a .NET-based photo management server. Its Damselfly.Web.Server project exposes REST controllers under /api/* for operations such as user management. The UserManagementController normally relies on ASP.NET Core authorization attributes, for example [Authorize(Roles = "Admin")], to restrict administrative operations. In the 4.5.3 release these attributes are commented out at the controller level.
As a result, the authentication and authorization middleware configured in Program.cs never enforces access checks on these endpoints. Any network client that can reach the server can invoke privileged user management operations without credentials. The exposure covers account creation, role assignment, and password reset flows.
Successful exploitation grants full administrative control, which breaks confidentiality, integrity, and availability of the hosted media library and any linked storage.
Root Cause
The root cause is Missing Authentication for Critical Function [CWE-306]. Authorization attributes that should have gated the UserManagementController actions are present in source but disabled through code comments. The main server bootstrap in Program.cs wires up authentication, but no fallback authorization policy enforces authentication on API routes. Controllers therefore inherit anonymous access by default.
Attack Vector
The attack vector is network-based and requires no privileges or user interaction. An attacker sends a crafted HTTP request directly to the Damselfly API. A PUT /api/users request with a JSON body specifying an Admin role creates a new administrator account that the attacker then uses to log in. Alternatively, a POST /api/users request can reset an existing user's password, including that of an existing administrator.
Technical details are available in the VulnCheck Advisory on Damselfly, the HackMD Authorization Analysis, and the upstream GitHub Issue #409. The affected controller source is visible in the GitHub User Management Code and the authentication wiring in the GitHub Main Program Code.
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-111626
Indicators of Compromise
- Unauthenticated PUT or POST requests to /api/users in web server or reverse proxy logs.
- New administrator accounts in the Damselfly user store that do not match provisioning records.
- Password reset events for existing users without a corresponding support or self-service ticket.
- Successful logins from previously unseen IP addresses immediately following /api/users traffic.
Detection Strategies
- Inspect HTTP access logs for requests to /api/* paths that lack an Authorization header or session cookie.
- Correlate account creation and role change events with the source IP of recent anonymous API calls.
- Hunt for anomalous administrator role assignments in the Damselfly SQLite or configured database backend.
Monitoring Recommendations
- Forward Damselfly application logs and reverse proxy logs to a central SIEM for retention and correlation.
- Alert on any HTTP 2xx response from /api/users endpoints that originates outside trusted administrator networks.
- Track changes to the user table and emit alerts on new rows with elevated role values.
How to Mitigate CVE-2026-111626
Immediate Actions Required
- Remove Damselfly instances from direct internet exposure and restrict access to trusted management networks.
- Audit all existing accounts for unexpected administrator roles and remove unauthorized users.
- Force password resets for all legitimate accounts and invalidate active sessions.
- Review logs for prior exploitation attempts against /api/users and related endpoints.
Patch Information
At the time of publication, no fixed release is referenced in the NVD entry. Monitor the Webreaper Damselfly repository and GitHub Issue #409 for a maintainer-supplied fix. The required code change is to restore [Authorize] attributes on UserManagementController and to configure a default authorization policy in Program.cs that requires authenticated users for all API routes.
Workarounds
- Place Damselfly behind a reverse proxy that enforces authentication on /api/* before requests reach the application.
- Apply network ACLs or firewall rules that block all inbound traffic to the Damselfly API from untrusted sources.
- Require a VPN or mutual TLS for any administrative access until a patched version is available.
- As a source-level mitigation, uncomment the authorization attributes on UserManagementController and rebuild from source.
# Example nginx reverse proxy snippet restricting /api/* to an internal network
location /api/ {
allow 10.0.0.0/8;
deny all;
proxy_pass http://127.0.0.1:6363;
}
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

