---
id: CVE-2026-108598
title: >-
  Floci 1.1.0 before 2.2.0 contains a code injection vulnerability in
  VtlTemplateEngine that allows unauthenticated attackers to execute commands
  via unrestricted Velocity mapping templates
summary: >-
  Floci 1.1.0 before 2.2.0 contains a code injection vulnerability in
  VtlTemplateEngine that allows unauthenticated attackers to execute commands
  via unrestricted Velocity mapping templates. Attackers can create a REST API
  with a MOCK inte…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-10-10'
updated: '2026-10-10'
sourceUpdated: '2026-10-10T19:16:58.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108598'
references:
  - url: 'https://github.com/floci-io/floci'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/floci-io/floci/blob/560b3e4aae61cea3ac7d4d51843bdffd0e3085fd/src/main/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngine.java#L74-L114
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/floci-io/floci/commit/144b90e6fa861a5ac882e99a090d503da01945c4
    label: disclosure@vulncheck.com
  - url: 'https://github.com/floci-io/floci/releases/tag/2.2.0'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/floci-io/floci/security/advisories/GHSA-3p4c-wp7w-mgjx'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ghostx-86/exploitarium/tree/main/floci-apigateway-vtl-rce-poc
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/floci-1.1.0-before-2.2.0-rce-via-api-gateway-vtl-mapping-templates
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-10T19:30:07.155Z'
---

## Overview

Floci 1.1.0 before 2.2.0 contains a code injection vulnerability in VtlTemplateEngine that allows unauthenticated attackers to execute commands via unrestricted Velocity mapping templates. Attackers can create a REST API with a MOCK integration whose template uses $util reflection to reach Runtime or ProcessBuilder, executing OS commands in the Floci JVM.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
