USN-9149-1: MiniMagick vulnerability

Published Nov 17, 2026
·
Updated

It was discovered that MiniMagick passed the file names and URLs given to Image.open directly to Kernel#open. If an application opened an image from an untrusted file name or URL, an attacker could possibly use this issue to execute arbitrary commands.

Affected Software

2 affected componentsFixes available
All of the following
ubuntu/ruby-mini-magick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-mini-magick to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Nov 17, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using MiniMagick are exposed if they pass an untrusted file name or URL to Image.open. Applications that only open trusted, internally controlled image paths or URLs are not described as affected by this issue.

2

What does an attacker need to exploit it?

An attacker needs to influence a file name or URL that the application supplies to Image.open. Successful exploitation could allow arbitrary command execution because MiniMagick passes that value directly to Kernel#open.

3

What can be done if the update cannot be applied immediately?

Do not pass untrusted file names or URLs to Image.open. Restrict image inputs to trusted, application-controlled paths or URLs until the affected package can be updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203