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-111674 Overview
CVE-2026-111674 is a missing authorization vulnerability in Tbed through version 20240319, an open-source image hosting application. The flaw resides in the /admin/setImgFileName endpoint, which fails to verify that the requesting user owns the targeted image. Any authenticated user can supply another user's imgname identifier, which is exposed in public image URLs and album listings, to rename images they do not own. Attackers can overwrite display names with arbitrary text that remains attributed to the victim. The weakness is categorized as CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Authenticated attackers can rename arbitrary users' images, enabling reputation damage, misattribution, and content manipulation across the Tbed platform.
Affected Products
- Tbed image hosting application through commit 20240319
- The /admin/setImgFileName endpoint handled by AdminController
- Database access layer defined in ImgMapper.xml
Discovery Timeline
- 2026-10-16 - CVE-2026-111674 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-111674
Vulnerability Analysis
Tbed exposes an administrative endpoint, /admin/setImgFileName, intended to update the display name of a stored image. The handler in AdminController accepts an imgname parameter from the request and passes it directly to the data layer defined in ImgMapper.xml. The code performs no ownership check that binds the targeted imgname to the authenticated session user.
Because imgname values appear in public image URLs and album listings, any user with valid credentials can enumerate victim identifiers trivially. An attacker submits the victim's imgname along with attacker-chosen text, and the server updates the record. The modified display name is then attributed to the original owner across the UI. This is a classic Insecure Direct Object Reference (IDOR) pattern.
Root Cause
The root cause is missing server-side authorization enforcement on a state-changing endpoint. The controller trusts the imgname parameter as the sole key for the update operation. It does not cross-reference the owning user ID from the session before executing the SQL UPDATE statement defined in the mapper. See the AdminController source and the ImgMapper XML.
Attack Vector
Exploitation requires only low-privilege authenticated access. An attacker registers a standard account, harvests target imgname values from public album listings or image URLs, and issues an HTTP request to /admin/setImgFileName with the victim's imgname and a chosen display string. The server processes the request without verifying ownership, resulting in cross-user metadata modification. Full technical analysis is published in the HackMD write-up and the VulnCheck advisory.
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-111674
Indicators of Compromise
- Unexpected changes to image display names across multiple user accounts within a short timeframe.
- HTTP POST requests to /admin/setImgFileName originating from non-administrative user sessions.
- Audit log entries showing imgname values updated by user IDs that do not match the image owner ID.
Detection Strategies
- Instrument the AdminController.setImgFileName handler to log the session user ID alongside the target imgname and compare against the image owner at request time.
- Deploy web application firewall (WAF) rules that flag requests to /admin/ paths originating from non-admin role sessions.
- Review database change logs for UPDATE statements on the images table where the modifying session does not match the record owner.
Monitoring Recommendations
- Enable application-level audit logging for all metadata mutation endpoints under /admin/.
- Alert on bursts of setImgFileName requests from a single authenticated identity targeting multiple distinct imgname values.
- Correlate access logs with user role data to surface privilege-mismatched endpoint usage.
How to Mitigate CVE-2026-111674
Immediate Actions Required
- Restrict access to /admin/* routes to administrative roles only using an authentication filter or interceptor.
- Add an ownership check in setImgFileName that confirms the authenticated user owns the targeted imgname before executing the update.
- Audit historical image metadata changes to identify and revert malicious renames.
Patch Information
No official patched release is referenced in the NVD entry for Tbed as of the last modification date. Operators tracking the upstream project at Hello-hao/Tbed should monitor commits after 20240319 and apply source-level fixes that enforce ownership validation in AdminController and scope the mapper UPDATE query by owner ID.
Workarounds
- Place /admin/ endpoints behind a reverse proxy rule that permits only trusted administrator IP ranges until a code fix is deployed.
- Modify the SQL in ImgMapper.xml to include a WHERE userid = #{sessionUserId} clause, scoping updates to records owned by the caller.
- Disable the image rename feature for standard users through role-based access control if the application framework supports it.
# Example nginx restriction limiting /admin/ to trusted ranges
location /admin/ {
allow 10.0.0.0/24;
deny all;
proxy_pass http://tbed_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

