Is yard 0.7 vulnerable?

RubyGems · 6 releases from 0.7.0 to 0.7.5 · latest yard is 0.9.45 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. yard 0.7.5, the last 0.7 release, is affected by 5 known security advisories (2 high, 3 medium), including CVE-2019-1020001, CVE-2017-17042, CVE-2026-49342. Upgrade to 0.9.44 or later to fix all of them.

Upgrade with:bundle update --conservative yard # Gemfile: '>= 0.9.44'

Is your project on an affected yard?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting yard 0.7.5

  • MediumCVE-2026-49342GHSA-pxcc-8665-phx826 Jun 2026

    YARD static cache reads raw traversal paths before router sanitization

    Affected
    <0.9.44
    Fixed in
    0.9.44
  • MediumCVE-2026-41493GHSA-3jfp-46x4-xgfj17 Apr 2026

    yard: Possible arbitrary path traversal and file access via yard server

    Affected
    <0.9.42
    Fixed in
    0.9.42
  • MediumCVE-2024-27285GHSA-8mq4-9jjh-9xrc28 Feb 2024

    YARD's default template vulnerable to Cross-site Scripting in generated frames.html

    Affected
    <0.9.36
    Fixed in
    0.9.36
  • HighCVE-2019-1020001GHSA-xfhh-rx56-rxcr2 Jul 2019

    Path Traversal vulnerability that affects yard

    Affected
    <0.9.20
    Fixed in
    0.9.20
  • HighCVE-2017-17042GHSA-gj4p-3wh3-2rmf21 Dec 2017

    Arbitrary file read vulnerability in yard server

    Affected
    <0.9.11
    Fixed in
    0.9.11

Every yard 0.7.x release

Affected: 0.7.0 to 0.7.5. Latest yard: 0.9.45.

VersionKnown advisories
yard 0.7.5CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042
yard 0.7.4CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042
yard 0.7.3CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042
yard 0.7.2CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042
yard 0.7.1CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042
yard 0.7.0CVE-2026-49342, CVE-2026-41493, CVE-2024-27285, CVE-2019-1020001, CVE-2017-17042

Which of your client projects are still on yard 0.7?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact yard version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other yard versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.