惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
The Canvas breach and the cost of multi-tenant blast radius
dsly · 2026-05-11 · via DEV Community

Originally published on arkensec.com

Between April 29 and May 7, 2026, ShinyHunters claimed two consecutive breaches of Instructure — the company behind Canvas, the LMS running on 41% of North American higher ed. The group says it pulled 3.65 TB and 275 million records spanning 8,809 schools, then defaced Canvas login pages when Instructure shipped patches instead of negotiating.

No exotic CVE. No kernel exploit. The stated vector: "an issue related to its Free-For-Teacher accounts."

8,809 schools. One free-tier sign-up flow.

That number is the point of this post. I want to walk through what the breach shape tells us about multi-tenant API design, where the trust boundary likely failed, and what developers building SaaS on shared infrastructure can actually do about it — with code you can run today.


The timeline, briefly

Date Event
Apr 29 Instructure detects unauthorized activity
May 1 Public disclosure
May 2 Instructure says breach contained
May 3 ShinyHunters posts ransom note on Ransomware.live, claims 275M records
May 5 8,809 affected schools published, including Harvard, Princeton, entire NC K-12 system
May 7 Canvas login pages defaced with second ransom note
May 12 ShinyHunters' stated negotiation deadline

What leaked: names, email addresses, student IDs, private messages. What didn't (per Instructure): passwords, DOBs, government IDs, financial data. That distinction matters less than institutions are framing it — I'll get to why.


Where the seam probably was

Instructure said the vector was "an issue related to its Free-For-Teacher accounts." FFT is a no-cost self-serve tier. Sign up with a teacher email, get a Canvas instance, no procurement process, no SSO mandate.

That description — free tier, self-serve, no institutional controls — points at a specific vulnerability class: BOLA (Broken Object Level Authorization), which sits at the top of the OWASP API Security Top 10.

Here's what BOLA looks like in a multi-tenant context. Imagine an API endpoint like this:

GET /api/v1/courses/{courseId}/students
Authorization: Bearer <fft_token>

Enter fullscreen mode Exit fullscreen mode

If the server validates that the token is authentic but doesn't validate that the token's tenant scope owns courseId, a free-tier user can enumerate course IDs belonging to paid institutional tenants. The auth check passes. The object-level check doesn't exist.

A minimal Python script to demonstrate the enumeration pattern (against your own test environment — don't run this against systems you don't own):

import requests
import time

BASE_URL = "https://your-canvas-test-instance.instructure.com"
TOKEN = "your_fft_test_token_here"

headers = {
    "Authorization": f"Bearer {TOKEN}",
    "Content-Type": "application/json"
}

# Enumerate course IDs sequentially — BOLA is often this simple
def probe_course_access(start_id, end_id):
    results = []
    for course_id in range(start_id, end_id):
        resp = requests.get(
            f"{BASE_URL}/api/v1/courses/{course_id}/students",
            headers=headers
        )
        if resp.status_code == 200:
            results.append({
                "course_id": course_id,
                "student_count": len(resp.json()),
                "status": "ACCESSIBLE"
            })
            print(f"[!] Course {course_id} accessible — {len(resp.json())} students")
        # Respect rate limits in testing
        time.sleep(0.1)
    return results

if __name__ == "__main__":
    probe_course_access(1000, 1050)

Enter fullscreen mode Exit fullscreen mode

In a properly scoped multi-tenant API, that request should return 403 Forbidden the moment courseId belongs to a different tenant — regardless of whether the token is valid. The token proves identity. Tenant-scoped authorization proves permission. Those are two separate checks, and collapsing them is how you get 8,809 schools exposed through one free account.

I'm not claiming this is exactly what happened. Instructure hasn't published a post-mortem. But "FFT account issue → 9,000-school data pull" fits this shape precisely.


How to test your own API for BOLA

If you're building a multi-tenant SaaS, here's a practical checklist. Run this against your staging environment before you ship.

Step 1: Create two isolated test tenants

# Tenant A — simulates a free/low-trust tier
TENANT_A_TOKEN="token_for_tenant_a"
TENANT_A_RESOURCE_ID="resource_owned_by_tenant_a"

# Tenant B — simulates a paid/institutional tier
TENANT_B_TOKEN="token_for_tenant_b"
TENANT_B_RESOURCE_ID="resource_owned_by_tenant_b"

Enter fullscreen mode Exit fullscreen mode

Step 2: Attempt cross-tenant object access

# Can Tenant A's token read Tenant B's resource?
curl -s -o /dev/null -w "%{http_code}" \
  -H "Authorization: Bearer $TENANT_A_TOKEN" \
  "https://your-api.example.com/api/v1/resources/$TENANT_B_RESOURCE_ID"

# Expected: 403
# Dangerous: 200

Enter fullscreen mode Exit fullscreen mode

Step 3: Check for sequential ID enumeration

#!/bin/bash
# Probe a range of IDs with Tenant A's token
for id in $(seq 1 50); do
  STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
    -H "Authorization: Bearer $TENANT_A_TOKEN" \
    "https://your-api.example.com/api/v1/resources/$id")
  if [ "$STATUS" = "200" ]; then
    echo "[BOLA] Resource $id accessible to wrong tenant — HTTP $STATUS"
  fi
done

Enter fullscreen mode Exit fullscreen mode

Step 4: Test token namespace isolation

If your free tier and paid tier share a token issuer (common with OAuth), verify the token claims include tenant scope and that your middleware enforces it:

import jwt  # pip install PyJWT

def validate_tenant_scope(token: str, required_tenant_id: str) -> bool:
    """
    Decode token and verify tenant claim matches the resource being accessed.
    This check must happen on EVERY object-level request, not just at login.
    """
    try:
        # Use your actual secret/public key here
        payload = jwt.decode(token, options={"verify_signature": False})
        token_tenant = payload.get("tenant_id") or payload.get("org_id")

        if not token_tenant:
            print("[WARN] Token has no tenant claim — reject this request")
            return False

        if token_tenant != required_tenant_id:
            print(f"[BOLA] Token tenant {token_tenant} != resource tenant {required_tenant_id}")
            return False

        return True
    except jwt.DecodeError:
        return False

# In your request handler:
# if not validate_tenant_scope(request.token, resource.tenant_id):
#     return 403

Enter fullscreen mode Exit fullscreen mode

The middleware pattern that actually prevents this — enforce tenant scope at the data layer, not just the route layer:

# Don't do this — tenant check only at the route level
@app.route("/api/v1/courses/<course_id>/students")
@require_auth
def get_students(course_id):
    # No tenant check here — BOLA waiting to happen
    return db.query("SELECT * FROM students WHERE course_id = ?", course_id)

# Do this — tenant scope enforced in the query itself
@app.route("/api/v1/courses/<course_id>/students")
@require_auth
def get_students(course_id):
    tenant_id = g.current_token.tenant_id  # Extracted from validated JWT
    students = db.query(
        "SELECT * FROM students WHERE course_id = ? AND tenant_id = ?",
        course_id, tenant_id  # Tenant scope baked into every query
    )
    if not students:
        abort(403)  # Don't leak whether the resource exists
    return jsonify(students)

Enter fullscreen mode Exit fullscreen mode

That second pattern is the one that would have contained the blast radius. The query physically can't return data from another tenant because the tenant ID is a required predicate.


Why the leaked data is more dangerous than it looks

Instructure confirmed no passwords leaked. Universities are framing this as "limited exposure." I'd push back on that framing.

Names + school emails + student IDs is a complete targeting package for spear phishing. Canvas users are conditioned to click Canvas links. They get Canvas notifications constantly. A phishing email that says "Your Canvas submission was flagged — review here" sent to a real student email, referencing their real student ID, from a domain that looks like canvas-notifications-[school].com — that's a high-conversion attack.

The data that leaked is the data you need to make phishing believable. That's the threat model institutions should be briefing against right now.


What to run this week if you're on the affected list

Check whether your Canvas subdomain is still serving the defacement payload:

# Check for ShinyHunters signatures in the current login page
curl -sL -A "Mozilla/5.0" https://<your-school>.instructure.com/ \
  | grep -iE 'shinyhunters|negotiate a settlement|breached'

# Verify security headers haven't been tampered with
curl -sI https://<your-school>.instructure.com/login \
  | grep -iE 'set-cookie|strict-transport-security|x-frame-options|content-security-policy'

Enter fullscreen mode Exit fullscreen mode

Expected output for a clean instance:

strict-transport-security: max-age=31536000; includeSubDomains
x-frame-options: SAMEORIGIN
set-cookie: _csrf_token=...; Secure; HttpOnly; SameSite=Lax

Enter fullscreen mode Exit fullscreen mode

Missing Secure or HttpOnly on session cookies, or a missing Strict-Transport-Security header, means something changed. Investigate before assuming it's fine.

Check your DNS for subdomain takeover exposure (a common follow-on attack when attacker has your domain structure from leaked data):

# Check for dangling CNAME records pointing at unclaimed cloud resources
dig CNAME canvas.<your-school>.edu
dig CNAME lms.<your-school>.edu

# If the CNAME points at *.instructure.com and that tenant no longer exists,
# you have a subdomain takeover risk

Enter fullscreen mode Exit fullscreen mode

Force SSO password rotation for Canvas-linked accounts. If your institution uses SSO (Shibboleth, Azure AD, Okta), the Canvas breach didn't expose those passwords directly — but users who set a local Canvas password and reused it elsewhere are exposed. Rotate anyway.


The broader pattern: sector-targeting is math

This is ShinyHunters' third edtech breach in 2026. Infinite Campus in the spring. McGraw Hill. Now Canvas. That's not random. That's a group that did the math on attacking one consolidated platform versus thousands of individual schools and picked the obvious answer.

Per Mandiant's M-Trends 2026, nearly 30% of CVEs get exploited within 24 hours of disclosure. Time-to-exploit has effectively gone negative — attackers are finding bugs before defenders finish reading the advisory. When you combine that with the consolidation of edtech into a handful of platforms, the attack surface math gets uncomfortable fast.

I wrote about the same compounding pattern after the Vercel OAuth supply chain breach in April. Different vector, same shape: one shared platform, one trust-boundary failure, every downstream customer holding the bill.

Your security posture isn't just your security posture. It's your posture multiplied by the weakest tenant boundary in every multi-tenant SaaS you depend on. Canvas just made that concrete for 8,809 institutions at once.


The fix isn't "better vendor selection"

I want to be honest about the limitation here. Telling institutions to "pick more secure vendors" is not actionable advice. Canvas is dominant because it works, it integrates with everything, and switching LMS platforms is a multi-year project that costs millions. The consolidation that created this blast radius is also the consolidation that made modern edtech functional.

The actual levers are:

  1. Demand tenant isolation attestations from vendors. SOC 2 Type II covers a lot of things, but it doesn't specifically attest to BOLA-class API isolation. Ask vendors directly: how do you test cross-tenant object access? What's your API security testing cadence? If they can't answer that, you know something.

  2. Treat vendor breaches as your breach for incident response purposes. Don't wait for the vendor to tell you what to do. The moment Canvas appeared on Ransomware.live, every institution should have started their own IR process — not waiting for Instructure's May 6 "back to normal" announcement.

  3. Run your own external attack surface checks regularly. You can't control what's inside your vendor's perimeter. You can control what's visible on your own domain. Surface-level checks on DNS, TLS, exposed admin endpoints, and subdomain takeover risk take minutes and catch the adjacent exposures an attacker would chain off leaked data.

The free ArkenSec scan runs 17 checks across those categories, takes about two minutes, and doesn't require a signup. It won't tell you if your Canvas tenant was in the leaked dataset — only Instructure can tell you that. It will surface what an attacker with your domain name already sees.


The Canvas breach is a multi-tenant architecture problem that got dressed up as a vendor security failure. Both things are true. But the architectural problem is the one that scales — and the one that developers building SaaS today are in a position to actually fix.

Test your tenant boundaries. Enforce scope at the data layer. Don't collapse authentication and authorization into a single check. Those three things wouldn't have prevented ShinyHunters from finding the seam, but they would have made the seam a lot harder to walk through.