CVE-2026-30958 Details
Description
OneUptime is a solution for monitoring and managing online services. Prior to 10.0.21, an unauthenticated path traversal in the /workflow/docs/:componentName endpoint allows reading arbitrary files from the server filesystem. The componentName route parameter is concatenated directly into a file path passed to res.sendFile() in orker/FeatureSet/Workflow/Index.ts with no sanitization or authentication middleware. This vulnerability is fixed in 10.0.21.
A path traversal vulnerability has been identified in OneUptime versions prior to 10.0.21. The issue exists in the '/workflow/docs/:componentName' endpoint, where the 'componentName' parameter is directly concatenated into a file path and sent to 'res.sendFile()' without proper sanitization or authentication. This vulnerability allows unauthenticated users to read arbitrary files from the server's filesystem, including sensitive environment variables and database credentials.
Users are advised to update to OneUptime version 10.0.21 or later. Additionally, implement validation for the 'componentName' parameter against an allowlist of known documentation files, or sanitize the path to ensure it remains within the intended directory before sending the file. Adding authentication middleware to the endpoint can also help mitigate the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OneUptime/oneuptime/releases/tag/10.0.21 | [email protected] | ProductRelease Notes |
| https://github.com/OneUptime/oneuptime/security/advisories/GHSA-p2wh-9pw8-hvff | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hackerbay oneuptime | < 10.0.21 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 12, 2026 | Initial Analysis | [email protected] |
| Mar 10, 2026 | New CVE Received | [email protected] |