Skip to content
Path traversal Write-up Intermediate

Dangerous Arbitrary File Read Vulnerability in Yelp (CVE-2025-3155)

Yelp, the GNOME help viewer, could read arbitrary files from the user's filesystem and run JavaScript when opening a crafted help file. An attacker could use a malicious website to plant a help file and trigger it, then exfiltrate any files the user can access.

blogs.gnome.org

Published on blogs.gnome.org

GNOME, Security

The author, on blogs.gnome.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the help viewer trusted the contents of help files, allowing them to read local files and execute JavaScript without restriction.

Impact

An attacker could exfiltrate any files the user can access, though Chrome and Firefox require the user to grant permission first, while Epiphany opens the URL without prompting.

What the attacker needed

Victim visits a malicious website; browser saves file to Downloads; user grants permission (Chrome/Firefox)

The fix

Patches were proposed and later released in Yelp 42.3 and yelp-xsl 42.3, and Epiphany 48.1 stopped opening downloaded files automatically.

How it was found

  1. A malicious website downloads a crafted help file into the user's Downloads directory without interaction.
  2. The site opens a special ghelp URL pointing at the Downloads directory via a process path.
  3. Chrome and Firefox ask the user for permission before launching Yelp; Epiphany does not prompt.
  4. If Yelp launches, the help file reads local files and exfiltrates them.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Yelp is a program that shows help pages on Linux. It turned out that a help page could contain code that reads other files on the computer and sends them away. A malicious website could quietly download such a help page and then ask the system to open it, so the victim's private files, such as SSH keys, could be stolen.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.