USN-9148-1

Type: Security
Severity: Medium
Published: 2026-11-17
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Mechanize used Kernel#open to open local files in several methods. If an application passed untrusted input as a local file name to one of these methods, an attacker could possibly use this issue to execute arbitrary commands. Update Instructions: Run `sudo pro fix USN-9148-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ruby-mechanize - 2.7.6-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2026-11-19T07:13:07.073Z UTC.

Upstream Advisory

Affected Packages

  • ruby-mechanize 2.7.6-1ubuntu0.1~esm1-2.7.6-1ubuntu0.1~esm1

Interested in being alerted when there are new versions of ruby-mechanize? Set up an alert.
USN-9148-1: Mechanize vulnerability | Package Alert