p PatchFirst

CVE-2026-49342

CVE-2026-49342 · YARD static cache reads raw traversal paths before router sanitization

CVSS 5.3 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • yardNo fix published
  • yard Debian 12No fix published
  • yard Debian 13No fix published
  • yard Debian 14Update to 0.9.44-1
  • and 9 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="yard"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

YARD is a documentation generation tool for the Ruby programming language. Prior to version 0.9.44, YARD's static cache lookup reads a request path before the router's path cleanup runs. When a server is configured with a document root, a traversal path such as `/../yard-cache-secret.html` is joined against that root and can return a readable sibling `.html` file outside the intended static tree. Version 0.9.44 patches the issue.

Published
Updated

Stack: system · ruby

Affected products and versions

  • yard

    Versions
    • < 0.9.44: Affected

    No fix published

  • yard Debian 12

    Versions
    • 0.9.28-2
    • 0.9.28-2+deb12u1
    • 0.9.28-2+deb12u2
    • 0.9.34-1
    • 0.9.35-1
    • 0.9.36-1
    All versions (15)
    • 0.9.37-1
    • 0.9.38-1
    • 0.9.39-1
    • 0.9.44-1
    • 0.9.45-1
    • 1.17.patch1-5
    • 2.2-3
    • 2.2-4
    • 2.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Debian 13

    Versions
    • 0.9.37-1
    • 0.9.38-1
    • 0.9.39-1
    • 0.9.44-1
    • 0.9.45-1
    • 1.17.patch1-5
    All versions (9)
    • 2.2-3
    • 2.2-4
    • 2.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Debian 14

    Versions
    • 0.9.37-1
    • 0.9.38-1
    • 0.9.39-1
    Affected ranges
    • ECOSYSTEM: < 0.9.44-1

    Update to 0.9.44-1

  • yard RubyGems

    Versions
    • 0.2.0
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.2.3.2
    • 0.2.3.3
    All versions (98)
    • 0.2.3.4
    • 0.2.3.5
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.5.1p1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.5.5
    • 0.5.6
    • 0.5.7
    • 0.5.8
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.6.5
    • 0.6.6
    • 0.6.7
    • 0.6.8
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.8.0
    • 0.8.1
    • 0.8.2
    • 0.8.2.1
    • 0.8.3
    • 0.8.4
    • 0.8.4.1
    • 0.8.5
    • 0.8.5.1
    • 0.8.5.2
    • 0.8.6
    • 0.8.6.1
    • 0.8.6.2
    • 0.8.7
    • 0.8.7.1
    • 0.8.7.2
    • 0.8.7.3
    • 0.8.7.4
    • 0.8.7.5
    • 0.8.7.6
    • 0.9.0
    • 0.9.1
    • 0.9.10
    • 0.9.11
    • 0.9.12
    • 0.9.13
    • 0.9.14
    • 0.9.15
    • 0.9.16
    • 0.9.17
    • 0.9.18
    • 0.9.19
    • 0.9.2
    • 0.9.20
    • 0.9.21
    • 0.9.22
    • 0.9.23
    • 0.9.24
    • 0.9.25
    • 0.9.26
    • 0.9.27
    • 0.9.28
    • 0.9.29
    • 0.9.3
    • 0.9.30
    • 0.9.31
    • 0.9.32
    • 0.9.33
    • 0.9.34
    • 0.9.35
    • 0.9.36
    • 0.9.37
    • 0.9.38
    • 0.9.39
    • 0.9.4
    • 0.9.40
    • 0.9.41
    • 0.9.42
    • 0.9.43
    • 0.9.5
    • 0.9.6
    • 0.9.7
    • 0.9.8
    • 0.9.9
    Affected ranges
    • ECOSYSTEM: < 0.9.44

    Update to 0.9.44

  • yard Ubuntu Pro 16.04 LTS

    Versions
    • 0.8.7.6-1
    • 0.8.7.6+git20160220-3
    • 0.8.7.6+git20160220-3ubuntu0.1~esm1
    • 0.8.7.6+git20160220-3ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu Pro 18.04 LTS

    Versions
    • 0.9.9-1
    • 0.9.12-1
    • 0.9.12-1ubuntu3
    • 0.9.12-2
    • 0.9.12-2ubuntu0.1~esm1
    • 0.9.12-2ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu Pro 20.04 LTS

    Versions
    • 0.9.16-1
    • 0.9.20-1
    • 0.9.24-1
    • 0.9.24-1+deb11u1build0.20.04.1
    • 0.9.24-1+deb11u1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu Pro 22.04 LTS

    Versions
    • 0.9.24-1
    • 0.9.26-1
    • 0.9.26-1ubuntu0.1
    • 0.9.26-1ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu Pro 24.04 LTS

    Versions
    • 0.9.28-2
    • 0.9.34-1
    • 0.9.35-1
    • 0.9.36-1
    • 0.9.36-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu 25.10

    Versions
    • 0.9.37-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu 26.10

    Versions
    • 0.9.38-1
    • 0.9.39-1
    • 0.9.45-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yard Ubuntu Pro 26.04 LTS

    Versions
    • 0.9.37-1
    • 0.9.37-1build1
    • 0.9.38-1
    • 0.9.38-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →