Skip to main content
Vulnerability Database/CVE-2026-111368

CVE-2026-111368: ClassroomIO Auth Bypass Vulnerability

CVE-2026-111368 is an authentication bypass flaw in ClassroomIO that allows tutors or admins to modify or delete submissions across courses through IDOR. This post explains its impact, affected versions, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111368 Overview

CVE-2026-111368 is an Insecure Direct Object Reference (IDOR) vulnerability [CWE-639] in ClassroomIO through version 1.0.0. The flaw resides in the Hono API course submission routes under apps/api/src/routes/course/submission.ts. Course tutors or admins can modify submissions belonging to other courses by supplying their own courseId alongside another course's submission UUID in PUT or DELETE requests. Attackers abuse this scoping gap to overwrite answers, grades, feedback, and grading status, or delete submissions outright. The vulnerability affects data integrity across tenants that share the same ClassroomIO deployment.

Critical Impact

Authenticated tutors or admins in one course can tamper with or destroy graded submissions belonging to other courses, undermining assessment integrity.

Affected Products

  • ClassroomIO through 1.0.0
  • ClassroomIO Hono API (apps/api/src/routes/course/submission.ts)
  • ClassroomIO submission query layer (packages/db/src/queries/submission/submission.ts)

Discovery Timeline

  • 2026-10-15 - CVE-2026-111368 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111368

Vulnerability Analysis

ClassroomIO's Hono API exposes submission update and delete routes that accept both a courseId path parameter and a submission UUID. The authorization middleware verifies that the requesting user holds a tutor or admin role within the course identified by courseId. It does not confirm that the referenced submission UUID actually belongs to that course. An authenticated tutor can therefore pair their own course identifier with a submission UUID harvested from any other course and reach the PUT or DELETE handler. The handler then mutates the submission record directly, overwriting answers, grade, feedback, and grading_status, or deleting the row. The weakness is a textbook authorization scoping failure: role checks succeed, but resource ownership checks are absent.

Root Cause

The root cause is missing cross-reference validation between the courseId route parameter and the submission resource. The submission query layer trusts the caller's claimed course context instead of resolving the submission's true parent course from the database. This matches CWE-639, Authorization Bypass Through User-Controlled Key.

Attack Vector

Exploitation requires network access and a valid tutor or admin account in any course on the target instance. The attacker enumerates or obtains a submission UUID from another course, then issues a PUT or DELETE request to the submission endpoint using their own courseId and the foreign submission UUID. No user interaction from the victim is required.

typescript
// Security patch: new courseGraderMiddleware enforces grader scope
import { Context, Next } from 'hono';
import type { TOrganizationApiKeyScope } from '@cio/utils/validation/organization';

import { ErrorCodes } from '@api/utils/errors';
import { canAccessCourseSubmissions, isUserCourseMemberOrOrgAdmin } from '@cio/db/queries/group';
import { ensureProgramCourseAccess } from '@cio/core/services/course/course';
import { courseMemberOrAutomationKeyMiddleware } from './course-member-or-automation-key';

/**
 * Course group admin/tutor, org admin, or an active org tutor mentoring a cohort
 * that includes the course. Requires authMiddleware first.
 */
export const courseGraderMiddleware = async (c: Context, next: Next) => {
  try {
    const user = c.get('user');
    if (!user) {
      return c.json(
        {
          success: false,
          error: 'Unauthorized',
          code: 'UNAUTHORIZED'
        },
        401
      );
    }

    const courseId = c.req.param('courseId');
    if (!courseId) {
      return c.json(

Source: GitHub Commit 1844ad9

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111368

Indicators of Compromise

  • PUT or DELETE requests to /api/course/:courseId/submission/:submissionId where the submission UUID does not resolve to the supplied courseId in database records.
  • Unexpected changes to grade, feedback, answers, or grading_status fields on submissions outside the acting tutor's assigned course.
  • Submission deletions originating from user accounts that have no tutor or admin role in the submission's actual parent course.

Detection Strategies

  • Correlate API access logs with database audit trails to flag requests where the route-level courseId differs from the submission's stored course_id.
  • Alert on bulk submission mutations by a single tutor account within a short time window, especially across multiple distinct submission UUIDs.
  • Enable row-level audit logging on the submissions table to retain previous values of grade, feedback, and answers for forensic review.

Monitoring Recommendations

  • Instrument the Hono API with request/response logging that captures both path parameters and the resolved course owner of the submission.
  • Monitor for HTTP 2xx responses on submission PUT and DELETE endpoints from accounts without historical grading activity on the targeted course.
  • Review admin and tutor role assignments regularly, revoking stale privileges that expand the IDOR blast radius.

How to Mitigate CVE-2026-111368

Immediate Actions Required

  • Upgrade ClassroomIO to the patched version that includes commit 1844ad9671a0d9c2566d3431d82f34d39016242c introducing the courseGraderMiddleware.
  • Audit submissions table history for unauthorized modifications or deletions since the deployment of version 1.0.0.
  • Rotate API keys and review tutor/admin role assignments to minimize the number of accounts that can reach the affected routes.

Patch Information

The fix is published in the ClassroomIO repository under commit 1844ad9 titled "fix: let cohort tutors grade submissions without org admin (#1277)." The patch adds a dedicated courseGraderMiddleware and wires courseMemberOrGraderMiddleware into the course router. These middlewares call canAccessCourseSubmissions to validate that the acting user is authorized for the specific submission's course context before any mutation proceeds. See the VulnCheck IDOR Advisory for ClassroomIO and the HackMD Course Resource ID Analysis for the full technical write-up.

Workarounds

  • Restrict access to the Hono API submission routes at the reverse proxy or WAF layer until the patch is applied.
  • Temporarily reduce the number of accounts holding tutor or admin roles to limit who can invoke the vulnerable PUT and DELETE handlers.
  • Add a database-level trigger or application-level guard that rejects submission updates when the route courseId does not match the submission's stored course_id.
bash
# Verify installed ClassroomIO version and upgrade past 1.0.0
git -C /opt/classroomio describe --tags
git -C /opt/classroomio fetch --all --tags
git -C /opt/classroomio checkout main
git -C /opt/classroomio pull
pnpm install && pnpm build

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.