---
id: "CVE-2026-42864"
kind: "vulnerability"
aliases: ["CVE-2026-42864", "GHSA-fqvv-jvhr-g5jc"]
title: "FireFighter has unauthenticated SSRF in its Raid jira_bot endpoint that allows IAM credential theft"
severity: "critical"
cvss: 9.9
epss: 0.00272
exploited: false
status: "open"
category: "package"
products: [{"name": "firefighter-incident", "fixed": ["0.0.54"], "affected": "< 0.0.54", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["aws", "cwe-306", "cwe-918", "firefighter", "kubernetes", "package", "python", "self-hosted"]
not_affected_if: ["auth-required", "imdsv2-enforced", "managed-hosting"]
published_at: "2026-05-05T18:21:17+00:00"
first_seen_at: "2026-10-27T16:46:06+00:00"
updated_at: "2026-10-27T16:46:11+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-fqvv-jvhr-g5jc", "first_seen_at": "2026-10-27T16:46:06+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42864", "first_seen_at": "2026-10-27T17:03:04+00:00"}]
---

# FireFighter has unauthenticated SSRF in its Raid jira_bot endpoint that allows IAM credential theft

The Raid jira_bot endpoint in FireFighter accepts requests without authentication and fetches attacker-supplied attachment URLs server-side with no validation. An attacker can point it at the cloud metadata service and exfiltrate the pod's temporary AWS credentials as a Jira attachment.

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

## Affected

- pypi:firefighter-incident affected < 0.0.54 fixed 0.0.54

## How to check

- Run `pip show firefighter-incident` and compare the version against `0.0.54`.
- Check whether the ingress exposes `/api/v2/firefighter/raid/jira_bot` to untrusted networks.
- On EC2/EKS nodes, check whether IMDSv2 is enforced with `HttpPutResponseHopLimit=1`.

## Fix

- Upgrade `firefighter-incident` to `0.0.54` or later.
- Until upgrade, restrict ingress to `/api/v2/firefighter/raid/jira_bot` to trusted networks (VPN, internal load balancer).
- Enforce IMDSv2 with `HttpPutResponseHopLimit=1` on EC2/EKS nodes to neutralise the credential theft path.
- Rotate the Jira API token in `RAID_JIRA_API_PASSWORD` if exposure is suspected.

## Timeline

- 2026-10-27T16:46:06+00:00 ghsa https://github.com/advisories/GHSA-fqvv-jvhr-g5jc
- 2026-10-27T17:03:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-42864

## From the sources

### Impact
  The `POST /api/v2/firefighter/raid/jira_bot` endpoint (`CreateJiraBotView`) is
  reachable without authentication (`permission_classes = [permissions.AllowAny]`).
  Its `attachments` payload is fetched server-side via `httpx.get()` with no URL
  validation, then uploaded as an attachment on the Jira ticket that gets created.

  An unauthenticated caller able to reach the ingress can coerce the pod into
  fetching arbitrary URLs — including the cloud metadata endpoint at
  `http://169.254.169.254/` — and exfiltrate the response as a Jira attachment.

  On EC2/EKS deployments that do not enforce IMDSv2, this allows theft of the
  temporary AWS credentials attached to the pod's IAM role. The docstring on the
  view claims a Bearer token is required, but the code does not enforce it.

  Affected code paths:
  - `src/firefighter/raid/views/__init__.py` — `CreateJiraBotView`
  - `src/firefighter/raid/serializers.py` — `LandbotIssueRequestSerializer.attachments`
  - `src/firefighter/raid/client.py` — `RaidJiraClient.add_attachments_to_issue`

  ### Patches
  Fixed in `firefighter-incident` `0.0.54`:
  - `CreateJiraBotView` now enforces `BearerTokenAuthentication` + `IsAuthenticated`.
  - `attachments` URLs are validated: http(s) scheme only, max 10 URLs, rejection
    of any host resolving to a private, loopback, link-local, reserved, multicast
    or unspecified IP (IPv4 and IPv6).
  - Fixes an unrelated `KeyError('attachments')` surfaced during regression testing.

  Users should upgrade to `0.0.54` or later.

  ### Workarounds
  Until upgrade is possible, any one of the following blocks end-to-end exploitation:
  - Restrict ingress access to `/api/v2/firefighter/raid/jira_bot` to trusted
    networks only (VPN, internal load balancer).
  - Rotate or revoke the Jira API token configured as `RAID_JIRA_API_PASSWORD`;
    this breaks `jira.create_issue()` before the vulnerable attachment fetch is
    reached (legitimate traffic is also blocked — emergency mitigation only).
  - Enforce IMDSv2 with `HttpPutResponseHopLimit=1` on EC2/EKS nodes. This does
    not fix the SSRF itself but neutralises the IAM-credential-theft path.

  ### Resources
  - CWE-918: Server-Side Request Forgery
  - CWE-306: Missing Authentication for Critical Function

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
