Skip to content
Heist/ feed
Back to feed
Low

sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders

Type: advisorySources: OSV

sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list `. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-46717
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:26 UTC · Revision 1

Source evidence

sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders

core-osv · Original source

Published 12 May 2025, 14:52 UTC

sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list `. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.

osv:CVE-2025-46717
Complete source record
{
  "id": "9192a557e032a896b7e3154116b4970f4eaec5a1fd57cb17a5dbc470a50c4fd5",
  "url": "https://osv.dev/vulnerability/CVE-2025-46717",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders",
    "summary": "sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list `. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.",
    "evidence": "osv:CVE-2025-46717",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-46717",
      "aliases": [
        "CVE-2025-46717",
        "GHSA-98cv-wqjx-wx8f"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/trifectatechfoundation/sudo-rs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "33f17c2a20aa93feec01437a08fb9aa8ddd61f7c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "33f17c2a20aa93feec01437a08fb9aa8ddd61f7c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.2.6"
                  },
                  {
                    "cpe": "cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.2.6",
            "v0.2.5",
            "v0.2.3",
            "v0.2.1",
            "v0.2.0",
            "v0.2.0-dev.20230711",
            "v0.2.0-dev.20230703",
            "v0.2.0-dev.20230627",
            "v0.1.0-dev.20230620"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46717.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.262043180Z",
      "provider": "osv",
      "references": [
        "https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46717.json",
        "https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-46717"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-497"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46717.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-46717",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493801,
  "published_at": "2025-05-12T14:52:55.408+00:00"
}