GHSA-vr5f-w35q-98jp

Suggest an improvement
Source
https://github.com/advisories/GHSA-vr5f-w35q-98jp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vr5f-w35q-98jp/GHSA-vr5f-w35q-98jp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vr5f-w35q-98jp
Aliases
Published
2026-09-18T17:40:03Z
Modified
2026-09-18T17:45:05Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Perses's unvalidated project parameter enables filesystem path traversal
Details

Impact

When Perses is using the file system database, on the list endpoints, the project value is bound from the request into the resource Query struct and is never validated against directory-traversal characters (validation/Flatten only runs for Create/Update bodies, not list queries).

The path is then used to retrieve files in the database directly.

Attacker can read arbitrary YAML/JSON files from the server host and can bypass the security constraints to get access to other resources contained in the file database.

For example https://localhost:8080/api/v1/dashboards?project=../projects returns the list of the project while it must not return anything.

Patches

Has the problem been patched? What versions should users upgrade to?

Workarounds

Avoid using the file system database in production. Use SQL database instead.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-18T17:40:03Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/perses/perses

Package

Name
github.com/perses/perses
View open source insights on deps.dev
Purl
pkg:golang/github.com/perses/perses

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.54.0-rc.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vr5f-w35q-98jp/GHSA-vr5f-w35q-98jp.json"