Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-55374 EUVD-2026-78905GHSA-9qfv-wgh2-m6p8

canto-saas-api: Authenticated API requests can be redirected via unencoded path variables

Published Sep 15, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

Description

canto-saas-api is a PHP library for interacting with the Canto SaaS API. Prior to version 3.0.0, Request::buildRequestUrl() joins values returned by Request::getPathVariables() without encoding individual path segments, including the scheme and contentId values used by GetContentDetailsRequest. When a consuming application supplies an untrusted path variable value, path traversal sequences, query delimiters, or fragment delimiters can change the destination endpoint before AbstractEndpoint::sendRequest() attaches the configured authentication token. An attacker who controls that path variable value through the consuming application can cause unintended reads or writes with the configured application's privileges on the same Canto instance, but applications that pass only trusted and validated identifiers are not exploitable. This issue is fixed in version 3.0.0.

Affected products

VendorProductAffectedFixed
jleehr canto-saas-api < 3.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist jleehr/canto-saas-api < 3.0.0 3.0.0 GHSA-9qfv-wgh2-m6p8

References