Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or register low-privilege guest account
-
DeliveryAuthenticate to TestLink instance
-
ExploitIssue GET requests to attachmentdownload.php with sequential integer id values
-
ExecutionReceive file contents without project membership check
-
PersistEnumerate all attachment IDs across installation
-
ImpactExfiltrate test specifications, requirements, and execution evidence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires an authenticated session on the TestLink instance - any account tier, including the lowest-privilege guest role, is sufficient. No specific project membership, elevated role, or non-default configuration is required beyond the ability to log in. Installations that restrict account creation to trusted internal users or that place TestLink behind VPN or IP allowlist reduce exposure significantly. Installations where all authenticated users already possess read access to all projects gain no incremental exposure from this flaw. The sequential integer nature of attachment IDs means no brute-force sophistication or prior enumeration of project structure is needed. The sole limiting factor is the PR:L requirement: fully unauthenticated external attackers cannot reach the vulnerable endpoint. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N, score 7.1) accurately characterizes the threat: network-reachable, zero complexity once authenticated, requiring only a low-privilege account, with high confidentiality impact and no integrity or availability effect. This is not a high-CVSS-but-low-real-risk situation - the attack is genuinely trivial to automate. However, risk is bounded by the PR:L requirement: unauthenticated external attackers cannot exploit this endpoint. Installations that allow untrusted or guest account registration face the most realistic exposure, since any authenticated user is sufficient. No CISA KEV listing is present and no confirmed active exploitation is reported; no EPSS score was provided in the available data. The confidentiality impact is substantive because TestLink attachments frequently contain test specifications, requirements documents, and execution evidence that may include sensitive product IP or compliance artifacts. Overall this is a realistic medium-priority finding for organizations where TestLink is accessible to untrusted authenticated users. |
| Exploit ScenarioDerived | An attacker obtains a guest account on a TestLink installation - either through self-registration or credential sharing - then scripts sequential GET requests to attachmentdownload.php iterating the id parameter from 1 upward, receiving and saving each returned file. Within minutes, all attachments across every project in the installation can be bulk-exfiltrated without triggering any project-level access denial. A researcher writeup at https://github.com/geo-chen/oss/blob/main/testlink-code.md may include demonstration code, though executable POC status is not explicitly confirmed in available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Insecure direct object reference in TestLink 1.9.20 and earlier allows any authenticated user - including low-privilege guest accounts - to retrieve arbitrary file attachments from projects they have no membership in, by supplying sequential integer IDs to the attachmentdownload.php endpoint. The handler performs no project membership or role authorization check, enabling bulk enumeration of all attachments across the entire installation. No public exploit has been confirmed at time of analysis, though a researcher writeup exists; the attack is trivially automatable due to the sequential integer ID scheme.
RemediationAI
No vendor-released patch has been identified at time of analysis - the TestLink GitHub repository at https://github.com/TestLinkOpenSourceTRMS/testlink-code should be monitored for a code fix. As an immediate compensating control, administrators should disable guest account self-registration and audit existing low-trust accounts, since the attack requires at minimum a low-privilege authenticated session. The attachmentdownload.php endpoint should be restricted at the reverse proxy or web server layer to allow access only from trusted IP ranges or VPN-connected clients - this eliminates remote exploitation entirely at the cost of requiring VPN for all attachment downloads. A correct code-level fix requires adding a project membership authorization check in attachmentdownload.php that verifies the requesting user's session is associated with the project owning the queried attachment ID before serving file content. A WAF rule rate-limiting rapid sequential requests to attachmentdownload.php can slow bulk enumeration but does not prevent a patient attacker from exfiltrating attachments incrementally.
Affected VersionsENISA
Affected Packages
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
TestLink is an open-source, PHP-based web test management system used to organize test cases, requirements, and execution evidence. The vulnerable component is the attachmentdownload.php HTTP handler, which accepts a user-supplied integer attachment ID and serves the corresponding file without verifying that the authenticated session belongs to the project that owns the attachment. CWE-639 (Authorization Through User-Controlled Key) precisely describes this root cause: the application uses a user-controlled, predictably sequential integer as the sole access key for a protected resource and does not validate object-level authorization before serving it. The CPE cpe:2.3:a:testlinkopensourcetrms:testlink:*:*:*:*:*:*:*:* covers all releases through 1.9.20 per EUVD-2026-54574. Because attachment IDs are sequential integers, an attacker requires no prior knowledge of file names or project structure to systematically enumerate and retrieve every attachment in the installation.
Know when Testlink 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:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint, low complexity, requires only authenticated low-privilege access (PR:L); pure confidentiality breach with no integrity or availability impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
TestLink 1.9.20 and prior contains an insecure direct object reference vulnerability that allows any authenticated user, including low-privilege guest accounts, to read arbitrary attachments by supplying an integer attachment ID to the attachmentdownload.php handler without any project or role authorization check. Attackers can enumerate sequential integer IDs through the attachment download endpoint to retrieve file contents from private projects they have no membership in, bypassing the per-project access control model and exposing test specifications, requirements documents, execution evidence, and other sensitive uploaded files across the entire installation.
Executive ViewAI
TestLink versions 1.9.20 and earlier contain an authorization bypass vulnerability allowing authenticated users-including guest-level accounts-to download arbitrary file attachments from projects they lack membership in. This exposes sensitive project documentation and intellectual property to unauthorized internal users, creating a data confidentiality breach risk for organizations using TestLink.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict network access to the attachmentdownload.php endpoint to authorized roles only, disable guest and low-privilege accounts until authorization checks are enforced, implement network segmentation to isolate TestLink from public network access, establish WAF rules to detect and block sequential ID enumeration patterns on the vulnerable endpoint, migrate sensitive project files to external repositories with independent access controls, and implement enhanced logging and alerting for file download activity on the attachment endpoint.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Multiple SQL injection vulnerabilities in TestLink 1.9.3, 1.8.5b, and earlier allow remote authenticated users with cert
Multiple SQL injection vulnerabilities in TestLink 1.9.11 allow remote authenticated users to execute arbitrary SQL comm
A SQL injection vulnerability in TestLink 1.9.20 allows attackers to execute arbitrary SQL commands in planUrgency.php v
A SQL injection vulnerability in TestLink 1.9.20 allows attackers to execute arbitrary SQL commands in dragdroptreenodes
TestLink v1.9.20 was discovered to contain a Cross-Site Request Forgery (CSRF) via /lib/plan/planView.php. Rated high se
An unrestricted file upload vulnerability in keywordsImport.php in TestLink 1.9.20 allows remote attackers to execute ar
An issue was discovered in TestLink 1.9.19. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
lib/execute/execSetResults.php in TestLink before 1.9.13 allows remote attackers to conduct PHP object injection attacks
TestLink 1.9.20 is vulnerable to Incorrect Access Control in the TestPlan editing section. Rated high severity (CVSS 8.1
TestLink through 1.9.20 allows type juggling for authentication bypass because === is not used. Rated high severity (CVS
In TestLink 1.9.20, a crafted login.php viewer parameter exposes cleartext credentials. Rated high severity (CVSS 7.5),
TestLink through 1.9.16 allows remote attackers to read arbitrary attachments via a modified ID field to /lib/attachment
EUVD-2026-54574
GHSA-wmvr-m7cj-9g8w
NVD
CVE.org
EPSS
VulDB
Exploit-DB