Skip to content
Heist/ feed
Back to feed
High

Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass

Type: advisorySources: OSV

Salvo is a Rust web framework. Versions 0.39.0 through 0.89.2 have a Path Traversal and Access Control Bypass vulnerability in the salvo-proxy component. The vulnerability allows an unauthenticated external attacker to bypass proxy routing constraints and access unintended backend paths (e.g., protected endpoints or administrative dashboards). This issue stems from the encode_url_path function, which fails to normalize "../" sequences and inadvertently forwards them verbatim to the upstream server by not re-encoding the "." character. Version 0.89.3 contains a patch.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33242
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:15 UTC · Revision 1

Source evidence

Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass

core-osv · Original source

Published 23 Mar 2026, 23:40 UTC

Salvo is a Rust web framework. Versions 0.39.0 through 0.89.2 have a Path Traversal and Access Control Bypass vulnerability in the salvo-proxy component. The vulnerability allows an unauthenticated external attacker to bypass proxy routing constraints and access unintended backend paths (e.g., protected endpoints or administrative dashboards). This issue stems from the encode_url_path function, which fails to normalize "../" sequences and inadvertently forwards them verbatim to the upstream server by not re-encoding the "." character. Version 0.89.3 contains a patch.

osv:CVE-2026-33242
Complete source record
{
  "id": "199141db2cb86f36bc4766d1cab34b2bb817e48a8f69c4b865dd642a3e1e79be",
  "url": "https://osv.dev/vulnerability/CVE-2026-33242",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass",
    "summary": "Salvo is a Rust web framework. Versions 0.39.0 through 0.89.2 have a Path Traversal and Access Control Bypass vulnerability in the salvo-proxy component. The vulnerability allows an unauthenticated external attacker to bypass proxy routing constraints and access unintended backend paths (e.g., protected endpoints or administrative dashboards). This issue stems from the encode_url_path function, which fails to normalize \"../\" sequences and inadvertently forwards them verbatim to the upstream server by not re-encoding the \".\" character. Version 0.89.3 contains a patch.",
    "evidence": "osv:CVE-2026-33242",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-33242",
      "aliases": [
        "CVE-2026-33242",
        "GHSA-f842-phm9-p4v4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/salvo-rs/salvo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b5b9d0abb923f6441138aef0e60365f068eb678"
                },
                {
                  "fixed": "f8fb007c4c765dd0a4961f81846e6f27629dcd28"
                },
                {
                  "fixed": "7bac30e6960355c58e358e402072d4a3e5c4e1bb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:salvo:salvo:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0.39.0"
                      },
                      {
                        "fixed": "0.89.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7bac30e6960355c58e358e402072d4a3e5c4e1bb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f8fb007c4c765dd0a4961f81846e6f27629dcd28"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.89.3"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33242.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.387692516Z",
      "provider": "osv",
      "references": [
        "https://github.com/salvo-rs/salvo/releases/tag/v0.89.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33242.json",
        "https://github.com/salvo-rs/salvo/security/advisories/GHSA-f842-phm9-p4v4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33242",
        "https://github.com/salvo-rs/salvo/commit/7bac30e6960355c58e358e402072d4a3e5c4e1bb#diff-e319bf7afcb577f7e9f4fb767005072f6335d23f306dd52e8c94f3d222610d02R20"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33242.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33242",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491838,
  "published_at": "2026-03-23T23:40:39.886+00:00"
}