# CAST Imaging 3.6.2 multiple vulnerabilities incl. authentication bypass (CVE-2026-109857 through CVE-2026-109864)

> CERT Polska disclosed eight vulnerabilities in CAST Software's Imaging 3.6.2, including an unauthenticated authentication bypass via a spoofed OpenID Connect issuer (X-ISSUER-LOCATION header), authenticated path traversal enabling arbitrary file reads (including /proc/self/environ), missing authentication/authorization checks and a hard-coded token in auth-service.jar. The vendor states the issues are fixed in newer versions; no in-the-wild exploitation or public PoC is stated.

- **Published:** 2026-11-18T12:30:58Z
- **Last reviewed:** 2026-11-18T12:30:58Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6337
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6337.png
- **ID:** TL-2026-6337
- **Severity:** HIGH
- **Category:** VULNERABILITY
- **Status:** MONITORING
- **Detections:** 9 (1 shown free below) · **IOCs:** 11
- **CVEs:** CVE-2026-109857, CVE-2026-109858, CVE-2026-109859, CVE-2026-109860, CVE-2026-109861, CVE-2026-109862, CVE-2026-109863, CVE-2026-109864

## Description

On 2026-11-18 CERT Polska published a coordinated-disclosure advisory covering eight vulnerabilities in CAST Software's Imaging product, confirmed in version 3.6.2. Other versions may be affected; the vendor gave no version range and stated only that the issues are fixed in newer versions (no specific fixed version number is given in the advisory). The advisory provides no CVSS scores, no evidence of exploitation in the wild, no public proof-of-concept, no attribution and no network IOCs. (The advisory text refers to nine CVEs in one place but enumerates eight, CVE-2026-109857 to CVE-2026-109864; this record covers the eight listed.)

Authentication bypass and credential exposure: CVE-2026-109857 (CWE-290) lets an unauthenticated attacker abuse the TenantFilter class, which reads the X-ISSUER-LOCATION header and dynamically registers an OpenID Connect issuer from it. The attacker can stand up a malicious identity provider, create users matching admin usernames, and obtain JWTs the application accepts, resulting in admin access. CVE-2026-109859 (CWE-306) exposes /api/auth/keycloak/users/{username} without authentication, allowing an attacker to change a Keycloak user's email and view account data including an API authentication token hash, enabling account takeover, impersonation and user enumeration. CVE-2026-109861 (CWE-798) is a hard-coded authentication token in the KeyCloakController class of auth-service.jar; used against /api/auth/keycloak/users it allows enumeration of users across Keycloak realms and retrieval of attributes containing API token hashes.

Arbitrary file read: CVE-2026-109858 (CWE-22) affects multiple endpoints that fail to validate path parameters; an authenticated attacker can use ../ sequences to read arbitrary files, and reading /proc/self/environ exposes Keycloak and PostgreSQL credentials that can lead to full server compromise. CVE-2026-109860 (CWE-22) affects /api/server-folders and /api/server-folders/download, which accept user-supplied paths without adequate authorization boundaries, letting an authenticated attacker list directories with the ls command and retrieve files outside the workspace such as /etc/passwd.

Authorization flaws: CVE-2026-109862 (CWE-863) in /api/admin/user/update-subscriber lets a low-privileged user enable or disable email notifications of other users, potentially suppressing security alerts. CVE-2026-109863 (CWE-284) is a wildcard route that redirects unrecognized URL paths to /admin/applications, through which low-privileged users can perform some admin actions (app-to-app link generation, regex configuration, changing searchable object properties). CVE-2026-109864 (CWE-862) in /api/jobs/<uuid>/logs/download lacks an authorization check, so a low-privileged user who knows a job UUID can download its log archive.

Severity HIGH is an analyst estimate from the described impact, not a vendor or CVSS rating. Reporters credited: Jaroslaw Wegrzynowicz and Maciej Wlodarczyk (STM Cyber).

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1078 Valid Accounts
- T1606 Forge Web Credentials
- T1552.001 Credentials In Files
- T1212 Exploitation for Credential Access
- T1556 Modify Authentication Process
- T1550.001 Application Access Token
- T1098 Account Manipulation
- T1136 Create Account
- T1087 Account Discovery
- T1005 Data from Local System

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**CAST Imaging API Path Traversal Sequences (CVE-2026-109858 / CVE-2026-109860)** (`TL-2026-6337-SPL-001`)

Detects ../ (plain, URL-encoded, double-encoded or ..;/) traversal sequences in requests to CAST Imaging /api/ endpoints, the exploitation primitive for authenticated arbitrary file read in CVE-2026-109858 and CVE-2026-109860 (e.g. /api/server-folders/download reading /etc/passwd or /proc/self/environ). Successful reads of /proc/self/environ expose Keycloak and PostgreSQL credentials and can lead to full server compromise.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1005, T1083
- **Data sources:** Splunk index=web sourcetype=access_combined (reverse proxy / web server access logs), Microsoft Sentinel CommonSecurityLog (WAF/proxy CEF), Sigma logsource category webserver
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=web sourcetype=access_combined uri_path="/api/*" earliest=-24h
| eval req=lower(urldecode(urldecode(uri)))
| where like(req,"%../%") OR like(req,"%..;/%")
| eval success=if(tonumber(status)>=200 AND tonumber(status)<300,1,0)
| stats count AS requests sum(success) AS successful min(_time) AS first_seen max(_time) AS last_seen dc(uri_path) AS distinct_paths values(uri_path) AS paths values(status) AS statuses values(useragent) AS user_agents BY clientip
| convert ctime(first_seen) ctime(last_seen)
| eval detection="TL-2026-6337 CAST Imaging path traversal CVE-2026-109858 CVE-2026-109860"
| sort 0 -successful -requests
```

### Microsoft KQL

```kql
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestURL contains "/api/"
| extend req = tolower(url_decode(url_decode(RequestURL)))
| where req contains "../" or req contains "..;/"
| summarize Requests = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Paths = make_set(RequestURL, 25), Methods = make_set(RequestMethod), Actions = make_set(DeviceAction) by SourceIP, DestinationHostName
| project SourceIP, DestinationHostName, Requests, FirstSeen, LastSeen, Methods, Actions, Paths
| order by Requests desc
```

### Sigma

```yaml
title: CAST Imaging API Path Traversal Sequences (CVE-2026-109858 / CVE-2026-109860)
id: 3b1e6c52-8a0d-4f6e-9c1a-5d2f7e8a4b01
status: experimental
description: Detects directory traversal sequences in requests to CAST Imaging /api/ endpoints used for arbitrary file read (CVE-2026-109858, CVE-2026-109860).
references:
  - https://cert.pl/en/posts/2026/11/CVE-2026-109857/
author: Threadlinqs Team
date: 2026-11-18
tags:
  - attack.initial-access
  - attack.t1190
  - attack.collection
  - attack.t1005
  - attack.discovery
  - attack.t1083
  - cve.2026.109858
  - cve.2026.109860
logsource:
  category: webserver
detection:
  selection_api:
    c-uri|contains: '/api/'
  selection_traversal:
    c-uri|contains:
      - '../'
      - '..%2f'
      - '%2e%2e%2f'
      - '%2e%2e/'
      - '..%5c'
      - '..;/'
  condition: all of selection_*
falsepositives:
  - Vulnerability scanners run by the security team
  - Clients that legitimately send relative paths in query parameters
level: high
```

**Known false positives:**

- Authorized vulnerability scanners or penetration tests against the Imaging host
- Clients or integrations that legitimately pass relative path strings in API parameters

**Tuning notes:** Point index/sourcetype at the proxy or web tier in front of CAST Imaging. Exclude known scanner source IPs. Prioritize rows where successful>0 (2xx responses). If your proxy normalizes paths before logging, also enable raw request-line logging so encoded sequences are visible.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- CAST Imaging Keycloak User Endpoint Enumeration (CVE-2026-109859 / CVE-2026-109861) (locked: unlock with TL Creds)
- CAST Imaging Keycloak User Modification via Unauthenticated API (Email Change / Account Takeover) (locked: unlock with TL Creds)
- Keycloak Rogue Identity Provider or User Creation/Update Behind CAST Imaging (locked: unlock with TL Creds)
- CAST Imaging Low-Privileged Access to Admin Routes (CVE-2026-109862 / CVE-2026-109863) (locked: unlock with TL Creds)
- CAST Imaging Job Log Archive Download (CVE-2026-109864) (locked: unlock with TL Creds)
- CAST Imaging Server-Folders Listing or Download Outside Workspace (CVE-2026-109860) (locked: unlock with TL Creds)
- CAST Imaging Sensitive File Read via API ([indicator], [indicator]) (locked: unlock with TL Creds)
- CAST Imaging X-ISSUER-LOCATION Header OIDC Issuer Spoofing (CVE-2026-109857) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [CERT Polska: Vulnerabilities in CAST Imaging software](https://cert.pl/en/posts/2026/11/CVE-2026-109857/)
- [CVE Record CVE-2026-109857](https://www.cve.org/CVERecord?id=CVE-2026-109857)
- [CVE Record CVE-2026-109858](https://www.cve.org/CVERecord?id=CVE-2026-109858)
- [CVE Record CVE-2026-109859](https://www.cve.org/CVERecord?id=CVE-2026-109859)
- [CVE Record CVE-2026-109860](https://www.cve.org/CVERecord?id=CVE-2026-109860)
- [CVE Record CVE-2026-109861](https://www.cve.org/CVERecord?id=CVE-2026-109861)
- [CVE Record CVE-2026-109862](https://www.cve.org/CVERecord?id=CVE-2026-109862)
- [CVE Record CVE-2026-109863](https://www.cve.org/CVERecord?id=CVE-2026-109863)
- [CVE Record CVE-2026-109864](https://www.cve.org/CVERecord?id=CVE-2026-109864)
- [CAST Imaging 3.6 Security fixes (release notes)](https://doc.castsoftware.com/imaging/release-notes/com.castsoftware.imaging.all.docker/3.6/security-fixes/)
- [CERT Polska Coordinated Vulnerability Disclosure process](https://cert.pl/en/cvd/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6337
