Cybersecurity news

Jessica Doner

Back to the list

Discourse Image Pipeline Exploit Chains JPEG Race, GhostScript and ImageMagick for File Read

Cyber Security News,

A Discourse image upload flaw let basic users read server files by chaining JPEG, Ghostscript, and ImageMagick features.

Vulnerabilities and patches

Overview

Researchers found a way for basic users to read serverA computer or program on a network that stores data and responds to requests from client devices files on Discourse, a platform that powers more than 22,000 communities. The exploit chained a delay in JPEG processing with Ghostscript execution and ImageMagick features to bypass security blocks. A crafted file used JPEG XL identification bytesA group of 8 bits, enough to store 1 character with valid PostScript content to trick the system into processing it as a PDF. This allowed the file to be interpreted by Ghostscript without breaking its patchedA software update released by a developer to fix a bug or close a security flaw sandboxAn isolated test environment where a program can run without touching the rest of the computer. The researchers also exposed a separate cache poisoningTricking a DNS resolver or web cache into storing a fake response and serving it to other visitors flaw that could run JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers for anonymous visitors. Both issues were reported in June 2026 and patched before publication.

Terms in this story

server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
patched
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
sandbox
An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
cache poisoning
Tricking a DNS resolver or web cache into storing a fake response and serving it to other visitors. When an attacker succeeds at cache poisoning on a shared DNS server or CDN, thousands of users who ask for a real website get handed the attacker's malicious page instead.
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
Pipeline
The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
Exploit Chains
Two or more separate vulnerabilities linked together in sequence to break through multiple layers of defense. A single bug in a browser tab might not be enough on its own, so an attacker combines a browser bug with a second kernel bug in an exploit chain to escape the sandbox.
configurations
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
extension
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related