← Back to feed

Pluto Security Skill2Exploit Delivers Nextcloud Zero Day RCE Through a Harmless AI Agent Skill

Date: 2026-11-20
Tags: malicious-tool

Executive Summary

Pluto Security disclosed Skill2Exploit, a technique where a benign looking AI agent skill fetches a crafted file that exploits a vulnerability in another service, triggering remote code execution with no malicious code in the skill itself. They proved it with a zero day RCE in Nextcloud's HEIC preview path via the libde265 decoder, affecting any instance running a pre November 6 2026 image with HEIC preview enabled. Administrators should move to a current fpm-alpine image (Nextcloud 32 to 35) or an Alpine 3.24 build and review how agents fetch and process untrusted files.

Campaign Summary

FieldDetail
Campaign / MalwareSkill2Exploit
AttributionUnattributed (confidence: none)
TargetNextcloud instances with HEIC preview enabled, including government, healthcare, university, and privacy focused organizations
VectorAn AI agent skill fetches a crafted HEIC image which is processed by the server preview pipeline, triggering the exploit
Statusdisrupted
First Observed2026-10-15

Detailed Findings

According to pluto.security, Skill2Exploit is a technique where a harmless looking skill has an agent fetch a file built to exploit a vulnerability in another service, and processing that file triggers remote code execution, with no malicious code in the skill or the files it pulled. The team proved it with a zero day RCE they found and disclosed in Nextcloud, the self hosted file sharing platform. To render a shared HEIC photo, Nextcloud builds a thumbnail and passes the file to the libde265 image decoder. Pluto Security found that a HEIC file can carry a hidden command in its image data and that building the thumbnail is enough to run it. A size safety check is bypassed by the crafted file lying about its dimensions, so the decoder reserves memory for a small size, writes the full image, and overflows, with the extra bytes then executed as the attacker's command under the web server account. Any instance running an image built before the November 6 2026 fix with HEIC preview enabled is exposed, and the researchers note the official images have been pulled over a billion times. Pluto Security reported the flaw to Nextcloud on October 15 2026 with a full proof of concept, received a same day response, and the patch was released on November 6 2026. The blog notes this is a disclosure of the vulnerability, not evidence of in the wild exploitation, and that upgrading closes this bug but not the general delivery method of a crafted file carried in by an agent.

MITRE ATT&CK Mapping

TechniqueIDContext
Exploitation for Client ExecutionT1203A crafted HEIC file exploits the libde265 decoder in Nextcloud's preview path to achieve remote code execution

IOCs

Domains

_No IOCs published. The technical writeup describes affected versions and the fixed image paths rather than atomic indicators._

Full URL Paths

_No IOCs published. The technical writeup describes affected versions and the fixed image paths rather than atomic indicators._

Splunk Format

_No IOCs available for Splunk query_

Affected Platforms

Nextcloud with HEIC preview enabled (pre 2026-11-06 images)
libde265 prior to 1.1.3-r0
libheif prior to 1.23.7-r0

Detection Recommendations

Upgrade Nextcloud to a current fpm-alpine image (32 to 35) that no longer installs the HEIC decode path, or to an Alpine 3.24 build shipping libde265 1.1.3-r0 and libheif 1.23.7-r0. Where the decode path must remain, disable HEIC preview and isolate preview generation from the web server account via a container or sandbox. Constrain agent skills so they cannot cause server side processing of untrusted files, and monitor preview or thumbnail worker processes for unexpected child process creation or outbound connections. Log which skills fetch external files and block that capability where it is not required.

References