An AWS IAM Privilege Escalation Path Library
152
stars
233
commits
Python
primary language
Sep 10, 2026
updated
The definitive source of truth for AWS IAM privilege escalation paths
Website: https://pathfinding.cloud
pathfinding.cloud is a comprehensive, community-maintained library documenting AWS IAM privilege escalation paths. This project builds upon foundational research by Spencer Gietzen at Rhino Security Labs and subsequent contributions from many other security researchers.
The website provides detailed documentation of each privilege escalation path including:
While several excellent resources document AWS IAM privilege escalation, no single source captures:
iam:CreateAccessKey alone vs. with iam:DeleteAccessKey)pathfinding.cloud aims to be that single source of truth.
Privilege escalation paths are organized into five categories:
pathfinding.cloud/
├── data/
│ └── paths/ # YAML files for each escalation path (source data)
│ ├── iam/
│ ├── ec2/
│ ├── lambda/
│ ├── ssm/
│ ├── cloudformation/
│ └── [other services]/
├── docs/ # Website files (deployed to GitHub Pages)
│ ├── index.html # Landing page
│ ├── 404.html # SPA routing handler
│ ├── paths/
│ │ └── index.html # Path detail pages index
│ ├── css/
│ │ └── style.css # Website styles
│ ├── js/
│ │ └── app.js # Website JavaScript (SPA routing, visualizations)
│ ├── images/ # Website images and logos
│ ├── paths.json # Generated from YAML files
│ ├── metadata.json # Detection tools and learning environments metadata
│ └── dev-server.py # Local development server (SPA routing support)
├── scripts/
│ ├── validate-schema.py # Schema validation
│ └── generate-json.py # YAML to JSON conversion (outputs to docs/)
├── .github/
│ └── workflows/ # CI/CD automation
│ ├── validate.yml # PR validation
│ └── deploy.yml # GitHub Pages deployment (deploys docs/ dir)
├── .claude/
│ └── CLAUDE.md # AI assistant guidelines (anti-patterns, style)
├── SCHEMA.md # Complete schema documentation
├── CLAUDE.md # Development workflow and commands
├── CONTRIBUTING.md # Contribution guidelines
└── README.md # This file
We welcome contributions of all sizes! Whether you have a rough idea or a fully documented path, we'd love your input.
Ways to contribute:
See CONTRIBUTING.md for detailed guidelines and templates.
# Clone the repository
git clone https://github.com/DataDog/pathfinding.cloud.git
cd pathfinding.cloud
# Install dependencies
pip install -r scripts/requirements.txt
# Validate all paths
python scripts/validate-schema.py data/paths/
# Generate JSON for website
python scripts/generate-json.py
# Start local development server (required for SPA routing)
cd docs && python3 dev-server.py
# Visit http://localhost:8888 in your browser
Note: The website uses client-side routing (SPA). Always use docs/dev-server.py for local testing rather than opening index.html directly, as direct file access won't support routing features.
# Validate a single file
python scripts/validate-schema.py data/paths/iam/iam-001.yaml
# Validate all files
python scripts/validate-schema.py data/paths/
# Validate and see detailed errors
python scripts/validate-schema.py data/paths/ --verbose
The website is built as a Single Page Application (SPA) with:
/paths/iam-001)Key Technologies:
This project builds upon groundbreaking research by:
Spencer Gietzen (Rhino Security Labs) - Original 21 privilege escalation methods
Gerben Kleijn (Bishop Fox) - Exploitation steps and requirements guide for original 21 paths
Erik Steringer (NCC Group) - PMapper privilege escalation detection and 10 additional paths
Nick Spagnola (Rhino Security Labs) - ECS privilege escalation research
Daniel Grzelak (Plerion) - EC2 and SageMaker privilege escalation paths
Nigel Sood (Sonrai Security) - Bedrock privilege escalation paths
Bollina Bhagavan (Appsecco) - App Runner privilege escalation research
Rhino Security Labs - Pacu AWS exploitation framework
Bishop Fox - IAM Vulnerable - 31 paths
This information is provided for educational and defensive security purposes only. The techniques documented here should only be used:
Do not use this information for unauthorized access to systems you don't own or have explicit permission to test.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Special thanks to:
Maintained by Seth Art from Datadog
Python
90.6%
JavaScript
8.3%
Makefile
1.1%
An AWS IAM Privilege Escalation Path Library
152
stars
233
commits
Python
primary language
Sep 10, 2026
updated
The definitive source of truth for AWS IAM privilege escalation paths
Website: https://pathfinding.cloud
pathfinding.cloud is a comprehensive, community-maintained library documenting AWS IAM privilege escalation paths. This project builds upon foundational research by Spencer Gietzen at Rhino Security Labs and subsequent contributions from many other security researchers.
The website provides detailed documentation of each privilege escalation path including:
While several excellent resources document AWS IAM privilege escalation, no single source captures:
iam:CreateAccessKey alone vs. with iam:DeleteAccessKey)pathfinding.cloud aims to be that single source of truth.
Privilege escalation paths are organized into five categories:
pathfinding.cloud/
├── data/
│ └── paths/ # YAML files for each escalation path (source data)
│ ├── iam/
│ ├── ec2/
│ ├── lambda/
│ ├── ssm/
│ ├── cloudformation/
│ └── [other services]/
├── docs/ # Website files (deployed to GitHub Pages)
│ ├── index.html # Landing page
│ ├── 404.html # SPA routing handler
│ ├── paths/
│ │ └── index.html # Path detail pages index
│ ├── css/
│ │ └── style.css # Website styles
│ ├── js/
│ │ └── app.js # Website JavaScript (SPA routing, visualizations)
│ ├── images/ # Website images and logos
│ ├── paths.json # Generated from YAML files
│ ├── metadata.json # Detection tools and learning environments metadata
│ └── dev-server.py # Local development server (SPA routing support)
├── scripts/
│ ├── validate-schema.py # Schema validation
│ └── generate-json.py # YAML to JSON conversion (outputs to docs/)
├── .github/
│ └── workflows/ # CI/CD automation
│ ├── validate.yml # PR validation
│ └── deploy.yml # GitHub Pages deployment (deploys docs/ dir)
├── .claude/
│ └── CLAUDE.md # AI assistant guidelines (anti-patterns, style)
├── SCHEMA.md # Complete schema documentation
├── CLAUDE.md # Development workflow and commands
├── CONTRIBUTING.md # Contribution guidelines
└── README.md # This file
We welcome contributions of all sizes! Whether you have a rough idea or a fully documented path, we'd love your input.
Ways to contribute:
See CONTRIBUTING.md for detailed guidelines and templates.
# Clone the repository
git clone https://github.com/DataDog/pathfinding.cloud.git
cd pathfinding.cloud
# Install dependencies
pip install -r scripts/requirements.txt
# Validate all paths
python scripts/validate-schema.py data/paths/
# Generate JSON for website
python scripts/generate-json.py
# Start local development server (required for SPA routing)
cd docs && python3 dev-server.py
# Visit http://localhost:8888 in your browser
Note: The website uses client-side routing (SPA). Always use docs/dev-server.py for local testing rather than opening index.html directly, as direct file access won't support routing features.
# Validate a single file
python scripts/validate-schema.py data/paths/iam/iam-001.yaml
# Validate all files
python scripts/validate-schema.py data/paths/
# Validate and see detailed errors
python scripts/validate-schema.py data/paths/ --verbose
The website is built as a Single Page Application (SPA) with:
/paths/iam-001)Key Technologies:
This project builds upon groundbreaking research by:
Spencer Gietzen (Rhino Security Labs) - Original 21 privilege escalation methods
Gerben Kleijn (Bishop Fox) - Exploitation steps and requirements guide for original 21 paths
Erik Steringer (NCC Group) - PMapper privilege escalation detection and 10 additional paths
Nick Spagnola (Rhino Security Labs) - ECS privilege escalation research
Daniel Grzelak (Plerion) - EC2 and SageMaker privilege escalation paths
Nigel Sood (Sonrai Security) - Bedrock privilege escalation paths
Bollina Bhagavan (Appsecco) - App Runner privilege escalation research
Rhino Security Labs - Pacu AWS exploitation framework
Bishop Fox - IAM Vulnerable - 31 paths
This information is provided for educational and defensive security purposes only. The techniques documented here should only be used:
Do not use this information for unauthorized access to systems you don't own or have explicit permission to test.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Special thanks to:
Maintained by Seth Art from Datadog
Python
90.6%
JavaScript
8.3%
Makefile
1.1%