A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly ingest data from on-prem, cloud or hybrid environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-class Expertise and Threat Intelligence.
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive solutions for seamless security operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your go-to source for our top partners in your region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68436

CVE-2025-68436: Craft CMS Information Disclosure Flaw

CVE-2025-68436 is an information disclosure vulnerability in Craft CMS that allows authenticated users to expose sensitive assets via profile photos. This article covers the technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2025-68436 Overview

CVE-2025-68436 is an Information Exposure vulnerability affecting Craft CMS, a popular platform for creating digital experiences. Authenticated users on vulnerable Craft CMS installations can potentially expose sensitive assets through their user profile photo functionality via maliciously crafted requests. This vulnerability affects the photoId attribute handling in the User element class.

Critical Impact

Authenticated attackers can leverage malicious requests to access sensitive assets that should be protected, potentially exposing confidential files and data stored on the Craft CMS installation.

Affected Products

  • Craft CMS versions 5.0.0-RC1 through 5.8.20
  • Craft CMS versions 4.0.0-RC1 through 4.16.16

Discovery Timeline

  • 2026-01-05 - CVE CVE-2025-68436 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-68436

Vulnerability Analysis

This vulnerability falls under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). The flaw exists in how Craft CMS handles the photoId attribute within the User element class. Authenticated users can craft malicious requests that manipulate the profile photo functionality to access sensitive assets that would normally be restricted.

The vulnerability is exploitable over the network and requires low privileges (an authenticated user account). No user interaction is required for exploitation. The primary impact is on confidentiality, as attackers can potentially access sensitive files and assets stored within the CMS.

Root Cause

The root cause of this vulnerability lies in the improper handling of the photoId attribute in the User.php element class. Prior to the patch, the photoId attribute was included in the list of safe attributes, allowing authenticated users to manipulate this value through mass assignment. This could be exploited to reference and expose arbitrary assets by associating them with a user's profile photo.

Attack Vector

The attack vector is network-based and requires an authenticated user session. An attacker with valid credentials to a Craft CMS installation can craft malicious requests that manipulate the photoId parameter. By setting this parameter to reference sensitive asset IDs, the attacker can potentially access and expose files that should be protected by the CMS access controls.

The following patch was applied to address this vulnerability by removing photoId from the safe attributes list:

php
    /**
     * @inheritdoc
     */
    public function safeAttributes(): array
    {
        return ArrayHelper::withoutValue(parent::safeAttributes(), 'photoId');
    }

Source: GitHub Commit

This fix ensures that photoId cannot be set through mass assignment, preventing attackers from manipulating user profile photos to reference sensitive assets.

Detection Methods for CVE-2025-68436

Indicators of Compromise

  • Unusual requests to user profile endpoints containing unexpected photoId parameter values
  • Access logs showing authenticated users attempting to reference asset IDs they shouldn't have access to
  • Anomalous patterns of user profile updates targeting the photo functionality

Detection Strategies

  • Monitor HTTP request logs for suspicious manipulation of photoId parameters in user profile requests
  • Implement application-layer logging to track changes to user profile photos and associated asset IDs
  • Review access logs for users attempting to access assets outside their permission scope

Monitoring Recommendations

  • Enable detailed audit logging for user profile modifications in Craft CMS
  • Configure alerts for unusual patterns of asset access following user profile updates
  • Implement file integrity monitoring on sensitive asset directories

How to Mitigate CVE-2025-68436

Immediate Actions Required

  • Update Craft CMS 5.x installations to version 5.8.21 or later
  • Update Craft CMS 4.x installations to version 4.16.17 or later
  • Review user activity logs for any suspicious profile photo manipulation attempts
  • Audit sensitive assets to ensure no unauthorized access has occurred

Patch Information

Craft CMS has released patched versions that address this vulnerability. The fix removes photoId from the list of safe attributes in the User element class, preventing mass assignment of this value. Users should update to the following versions:

  • Craft CMS 5.x: Update to version 5.8.21 or later
  • Craft CMS 4.x: Update to version 4.16.17 or later

For detailed patch information, refer to the GitHub Security Advisory and the commit fix.

Workarounds

  • Restrict access to sensitive assets using filesystem-level permissions as an additional layer of defense
  • Implement additional access control rules at the web server level for sensitive asset directories
  • Consider limiting user profile photo upload capabilities to trusted users until patching is complete
bash
# Update Craft CMS using Composer
composer update craftcms/cms

# Verify the installed version
./craft version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechCraft

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use