Exploit database

GH-b60660dc132ea76d126d9ef672a1c2b3

aramosf/cve-2026-68138

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-68138

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files5
aramosf/cve-2026-68138Revision 730a7d365be7

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

ubuntu/lab/first-boot.sh

Shell · 1,014 bytes
#!/usr/bin/env bash
set -euo pipefail

here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
state_dir=${CVE68138_UBUNTU_LAB_DIR:-"$here/state"}
overlay="$state_dir/jammy-5.15.0-187-nokaslr.qcow2"
payload="$state_dir/exploit.ext4"
seed="$state_dir/seed.iso"

for path in "$overlay" "$payload" "$seed"; do
    [[ -f "$path" ]] || {
        printf 'missing lab artifact: %s (run prepare.sh first)\n' "$path" >&2
        exit 1
    }
done

printf 'Cloud-init will configure the guest and reboot it once.\n'
printf 'After the post-reboot shell appears, verify id and /proc/cmdline, then exit QEMU with Ctrl-a x.\n'

exec qemu-system-x86_64 \
    -name cve68138-jammy-first-boot \
    -m 5G -smp 4 -enable-kvm -cpu host \
    -display none -monitor none \
    -serial mon:stdio \
    -drive "file=$overlay,if=virtio,format=qcow2,cache=none" \
    -drive "file=$payload,if=virtio,format=raw,readonly=on" \
    -drive "file=$seed,if=virtio,format=raw,readonly=on,media=cdrom" \
    -nic user,model=virtio-net-pci,restrict=on