Skip to content
On CISA KEVCritical

CVE-2026-66066rails Unrestricted File Upload

Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing

Published Jul 30, 2026 · Updated Nov 15, 2026 · Also known as CGA-22cc-pwvw-h3c8, CGA-2pf3-vv7h-833c, CGA-56x5-p9mq-5f39, CGA-6pmg-2hrw-66gj, CGA-74gc-7c86-wqmv, CGA-7vm8-w2jc-8f65, CGA-7wjw-6wff-f3wr, CGA-86w5-fwc8-c5fj, CGA-86wx-8jgv-phf4, CGA-8cpx-28h3-7fq4, CGA-99c4-w5xf-rph2, CGA-9hqf-crmh-cpr6, CGA-9p5p-2fpj-vxm4, CGA-9q3p-q5hj-gg5q, CGA-9xxq-m2qc-x8h5, CGA-cfqp-3292-h39g, CGA-fr37-6fr2-f544, CGA-gf8h-gx89-3qq7, CGA-hqp8-w2r8-cvh9, CGA-hr35-j6pr-9cj6, CGA-hx6q-hrr5-49pw, CGA-j2pv-5x9q-wfjj, CGA-jpwf-w8wf-r34r, CGA-jwvx-5phw-5xwh, CGA-m558-jv58-p859, CGA-mgxg-g79g-38c9, CGA-mppm-vc46-xh39, CGA-p2w3-8rqh-x636, CGA-p8j6-9x32-q745, CGA-qh7g-9qpr-pc78, CGA-qp7r-mjhm-99xc, CGA-r6vq-qrc7-g75v, CGA-v2h6-hxv8-5vfv, CGA-v552-6p8m-4gj9, CGA-vj2g-m7hf-vj65, CGA-w32p-3m4q-72j5, CGA-wgpf-xx7m-8jrp, CGA-wr45-vhvq-ccrx, DEBIAN-CVE-2026-66066, GHSA-xr9x-r78c-5hrm, MINI-7f33-vgrw-r7jw, MINI-gcm3-57wr-92c6, UBUNTU-CVE-2026-66066

Key Facts

Patch immediately
  • CVE-2026-66066 is a critical-severity vulnerability (CVSS 9.5 v4) affecting gitlab-rails-ce-18.10 (chainguard), gitlab-rails-ce-18.11 (chainguard), gitlab-rails-ce-18.1 (chainguard) and 22 more products.
  • It is exploited in the wild, listed in Industry KEV feed since Aug 25, 2026. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 33% probability of exploitation in the next 30 days.
  • Fixed versions are available, including activestorage 7.2.3.2, activestorage 8.0.5.1, activestorage 8.1.3.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v4

9.5

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS (30-day exploit likelihood)

33%

Higher than 98.3% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

65/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Aug 25, 2026

26 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

6

Reports of active use

Description

Action Pack is a framework for handling and responding to web requests. In versions prior to 7.2.3.2, 8.0.5.1 and 8.1.3.1, Active Storage does not disable libvips operations marked unsafe for untrusted content, allowing a crafted upload to invoke such an operation. Consuming applications are affected when configured to use libvips and accept image uploads from untrusted users.

An unauthenticated attacker may exploit this behavior to read arbitrary files accessible to the Rails process, including environment variables and application secrets. Exposure of credentials such as secret_key_base or external-service tokens may enable remote code execution or lateral movement. This issue has been fixed in versions 7.2.3.2, 8.0.5.1 and 8.1.3.1.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedAug 25, 2026n/aNot reported

Affected Products

88 affected entries in total
ProductAffected versionsFixed in
gitlab-rails-ce-18.10chainguardSee advisory18.10.8-r6
gitlab-rails-ce-18.11chainguardSee advisory18.11.8-r0
gitlab-rails-ce-18.1chainguardSee advisoryn/a
gitlab-rails-ce-18.6chainguardSee advisoryn/a
gitlab-rails-ce-18.7chainguardSee advisoryn/a
20 more affected products in the full CVE brief

Patched Releases

activestorage

7.2.3.2, 8.0.5.1, 8.1.3.1

gitlab-rails-ce-18.10

18.10.8-r6

gitlab-rails-ce-18.11

18.11.8-r0

gitlab-rails-ce-18.8

18.8.11-r4

gitlab-rails-ce-18.9

18.9.8-r7

gitlab-rails-ce-19.0

19.0.5-r0

gitlab-rails-ce-fips-18.10

18.10.8-r7

gitlab-rails-ce-fips-18.11

18.11.8-r0

gitlab-rails-ce-fips-19.0

19.0.4-r9

gitlab-rails-ce-fips-19.2

19.2.1-r0

hawk-apiserver

0.2.4+git.1792406875.6ed758a-160100.1.1

hawk2

2.7.2+git.1788518533.7d4dadd6-160000.1.1, 2.7.2+git.1789128469.a738abc1-160100.1.1, 2.7.2+git.1792148770.648dcddb-1.1

pghero

3.8.0-r3

pghero-fips

3.8.0-r3

python313-Pillow

11.3.0-160100.3.1

python313-Pillow-tk

11.3.0-160100.3.1

rails

2:6.1.7.10+dfsg-1~deb12u3, 2:7.2.2.2+dfsg-2~deb13u2, 2:7.2.3.2+dfsg-1

rails/rails

7.2.3.2, 8.0.5.1, 8.1.3.1

ruby3.3-rails-8.0

8.0.5.1-r0

Timeline

  1. Publicly disclosed

    Jul 30, 2026

  2. Added to Industry KEV feed

    Aug 25, 2026

  3. Last updated

    Nov 15, 2026

Weakness Type

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-1188 Initialization of a Resource with an Insecure Default

FAQ

Common Questions.

Is CVE-2026-66066 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 3, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.