{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.9.42"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b13dddc40246076e090e3e8072f27f87f7d73364"
            }
          ],
          "repo": "https://github.com/lsegal/yard",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3jfp-46x4-xgfj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41493.json"
  },
  "details": "YARD is a Ruby Documentation tool. Prior to version 0.9.42, a path traversal vulnerability was discovered in YARD when using yard server to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. This issue has been patched in version 0.9.42.",
  "id": "CVE-2026-41493",
  "modified": "2026-07-15T01:49:14.294879803Z",
  "published": "2026-05-08T13:13:49.232Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/lsegal/yard/releases/tag/v0.9.42"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41493.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lsegal/yard/security/advisories/GHSA-3jfp-46x4-xgfj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41493"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "yard: Possible arbitrary path traversal and file access via yard server"
}