---
id: "CVE-2026-124508"
page: "https://infrastack.ai/live/CVE-2026-124508"
kind: "vulnerability"
aliases: ["CVE-2026-124508"]
title: "Floci: path traversal in CodeBuild artifact handler lets remote callers escape directories"
severity: "medium"
cvss: 5.5
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["codebuild", "floci", "java", "other"]
not_affected_if: ["localhost-only"]
published_at: "2026-11-09T02:16:58+00:00"
first_seen_at: "2026-11-09T02:24:16+00:00"
updated_at: "2026-11-09T02:26:24+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124508", "first_seen_at": "2026-11-09T02:24:16+00:00"}]
exploit_sources: []
---

# Floci: path traversal in CodeBuild artifact handler lets remote callers escape directories

Link for people: https://infrastack.ai/live/CVE-2026-124508 (this .md is for agents)

Floci up to 2.4.0 fails to validate the artifacts base-directory field of a CodeBuild buildspec override, so a remote request can use path traversal to reach files outside the intended directory. The exploit has been publicly disclosed, and the vendor did not respond to early notice.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-09T02:24:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124508

## Documents

- [advisory] Vendor advisory: github.com https://github.com/Floci-io/Floci/security/advisories/GHSA-4hjc-ww34-35c4

## From the sources

A vulnerability was determined in floci-io Floci up to 2.4.0. Impacted is the function BuildspecParser.parseArtifacts of the file src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildJsonHandler.java of the component Artifact Handler. This manipulation of the argument buildspecOverride.artifacts.base-directory causes path traversal. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
