Entertainment community project · Unofficial, not affiliated with CVE / CNVD / NVD · All entries are public information · Disclaimer

LVELVE
  • In-house audit
  • False positive
  • LVE-2026-0018

AbsurdIO.popen and rand in the Rails routing visualizer(LVE-2026-0018)

A constant that draws a topology graph and a demo random number, packaged as “command execution plus weak randomness”.

LVE ID
LVE-2026-0018
Verdict
False positive
Affected product / version
Ruby on Rails · Ruby on Rails (routing visualizer helpers, invoked manually) · b5c6f8d
Published
2026-11-28

Description

In ActionDispatch::Journey’s routing-state-machine visualizer, to_svg calls IO.popen, and another site uses rand to build illustrative path parameters. Scanners often report both command execution and insecure randomness.

Why it is harmless

  1. The IO.popen command is a hard-coded constant that invokes Graphviz’s dot to draw a diagram; it does not interpolate external input.

  2. rand is only used to invent illustrative fake path parameters, not security tokens or keys.

  3. The visualizer entry point has no automatic callers in actionpack or railties library code; it runs only when a developer invokes it.

Location

Read to_svg and visualizer in journey/gtg/transition_table.rb, visualizer in journey/routes.rb, and confirm there is no automatic call site in library code.

References

Show per-metric scoring rationale

DS score and vector · Per-metric breakdownScoring rubric →

  • PRPrecondition / Required privilege

    LLocal or physical access

    You must already sit at the server or hold a local shell.

    +3 / 5

  • IMReal impact

    NNo security impact at all

    No change to confidentiality, integrity or availability — filing it as a “vulnerability” is the biggest impact.

    +5 / 5

  • EXReachability in default production config

    XUnreachable (test code / dead code)

    The code never ships in a production build, or can never execute.

    +5 / 5

  • PBPublicity / by design

    FBy design (official “feature”)

    Established project behavior that the vendor considers a feature.

    +3 / 4

  • VBVendor / maintainer behavior

    NNormal / no reply / n.a.

    No extra baffling behavior — no penalty.

    +0 / 4

  • FPFalse-positive factor

    FOutright false positive

    The scanner or audit tool got it wrong; the “finding” doesn’t hold up at all.

    +4 / 4

Total S =20/ 41 →DS 10= min(10, 1 + ⌊S / 2⌋)

Seen something just as lame?

Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.

No account on this site needed — just GitHub.