CVE-2026-142185: Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark

Published Dec 2, 2026
·
Updated

Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated attackers to read images outside configured prefixes by supplying encoded dot-dot sequences. When image URLs are not signed, attackers can send ..%2F sequences in request paths or the mark parameter to read images elsewhere on the filesystem and write cache files outside cachepathprefix.

Affected Software

1 affected component
composer/league/glide<=4.2.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unauthenticated exploitation?

Deployments running Glide 4.2.1 with unsigned image URLs are exposed. A remote attacker does not need authentication or user interaction, but must be able to submit crafted image requests.

2

What request inputs can be used to trigger the traversal?

Encoded dot-dot sequences such as ..%2F can be supplied in the request path or in the mark parameter. These inputs can be used to access images outside configured prefixes and cause cache files to be written outside cache_path_prefix.

3

How can I determine whether my configuration is affected?

Check whether the application uses Glide 4.2.1 and permits image URLs that are not signed. If so, test or review handling of encoded ..%2F sequences in image paths and the mark parameter, including whether resulting source and cache paths can escape their configured prefixes.

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