CVE-2026-41656
Deferred Deferred - Pending Action
Path Traversal in Admidio Document Upload

Publication date: 2026-05-07

Last updated on: 2026-05-07

Assigner: GitHub, Inc.

Description
Admidio is an open-source user management solution. Prior to version 5.0.9, the add mode in modules/documents-files.php accepts a name parameter validated only as 'string' type (HTML encoding), allowing path traversal characters (../) to pass through unfiltered. Combined with the absence of CSRF protection on this endpoint and SameSite=Lax session cookies, a low-privileged attacker can trick a documents administrator into clicking a crafted link that registers an arbitrary server file (e.g., install/config.php containing database credentials) into a documents folder accessible to the attacker. This issue has been patched in version 5.0.9.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-07
Last Modified
2026-05-07
Generated
2026-05-27
AI Q&A
2026-05-07
EPSS Evaluated
2026-05-26
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
admidio admidio to 5.0.9 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows an attacker to read arbitrary server files, including sensitive files such as those containing database credentials, by exploiting path traversal and lack of CSRF protection. This exposure of sensitive information could lead to unauthorized access to personal or protected data.

Such unauthorized disclosure of sensitive data may impact compliance with standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive information against unauthorized access.

However, the CVE description and resources do not explicitly mention compliance impacts or regulatory considerations.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability involves a path traversal attack via the 'name' parameter in the documents-files.php add mode, which can be exploited by tricking a documents administrator into clicking a crafted link. Detection can focus on identifying suspicious HTTP requests containing path traversal sequences (e.g., '../') in the 'name' parameter targeting the documents-files.php endpoint.

Network or system administrators can monitor web server logs for requests to modules/documents-files.php with parameters including '../' or other traversal patterns.

Example commands to detect such attempts in web server logs (assuming Apache logs in access.log):

  • grep -i 'modules/documents-files.php' /var/log/apache2/access.log | grep '\.\./'
  • grep -E 'name=.*\.\./' /var/log/apache2/access.log

Additionally, monitoring for unusual database entries in the documents folder that include path traversal sequences could help detect exploitation.

Since the vulnerability requires an administrator to click a crafted link, user behavior monitoring and awareness are also important.


Can you explain this vulnerability to me?

CVE-2026-41656 is a path traversal vulnerability in Admidio versions prior to 5.0.9. The vulnerability arises because the add mode in modules/documents-files.php accepts a 'name' parameter that is only validated as a string with HTML encoding, allowing path traversal characters like '../' to pass through unfiltered.

This flaw, combined with the absence of CSRF protection on the endpoint and the use of SameSite=Lax session cookies, enables a low-privileged attacker to trick a documents administrator into clicking a crafted link. This link can register an arbitrary server file, such as install/config.php containing sensitive database credentials, into a documents folder accessible to the attacker.

The vulnerability has been fixed in version 5.0.9 by improving validation, adding CSRF protection, and preventing path traversal.


How can this vulnerability impact me? :

This vulnerability can allow an attacker with low privileges to gain unauthorized access to sensitive server files by tricking an administrator into clicking a malicious link.

Specifically, the attacker can register arbitrary files from the server, such as configuration files containing database credentials, into accessible document folders. This can lead to exposure of sensitive information.

The impact is significant because it compromises confidentiality (high impact on confidentiality), although it requires user interaction and admin privileges, which limits the ease of exploitation.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade Admidio to version 5.0.9 or later, as this version addresses the path traversal issue and other security vulnerabilities.

Additionally, recommended fixes include changing the validation of the 'name' parameter to a 'file' type, adding CSRF protection to the affected endpoint, and implementing path canonicalization to prevent path traversal attacks.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart